Skip to content

Commit bd349d8

Browse files
committed
hmmm
1 parent 6c03a06 commit bd349d8

File tree

1 file changed

+157
-157
lines changed

1 file changed

+157
-157
lines changed

.github/workflows/main.yml

Lines changed: 157 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -18,162 +18,162 @@ env:
1818

1919
jobs:
2020

21-
backend_bench:
22-
23-
name: Backend Benchmarks
24-
25-
strategy:
26-
matrix:
27-
os:
28-
# - ubuntu-18.04
29-
# - macos-10.15
30-
- windows-2019
31-
32-
runs-on: ${{ matrix.os }}
33-
34-
steps:
35-
36-
- name: Checkout source
37-
uses: actions/checkout@v2
38-
with:
39-
submodules: recursive
40-
ssh-key: ${{ secrets.SSH_KEY }}
41-
ssh-strict: false
42-
43-
- uses: webfactory/[email protected]
44-
with:
45-
ssh-private-key: ${{ secrets.SSH_KEY }}
46-
47-
- name: Run ssh-keyscan
48-
run: ssh-keyscan github.com >> ~/.ssh/known_hosts
49-
50-
- name: Setup SSH for Windows Git LFS
51-
run: |
52-
& "C:\\Program Files\\Git\\bin\\sh.exe" -c "ssh-keyscan github.com >> ~/.ssh/known_hosts"
53-
& "C:\\Program Files\\Git\\bin\\sh.exe" -c "echo '${{ secrets.SSH_KEY }}' >> ~/.ssh/id_rsa"
54-
if: matrix.os == 'windows-2019'
55-
56-
- name: Install ${{ runner.os }} Dependencies.
57-
shell: bash
58-
run: |
59-
if [ "$RUNNER_OS" == "Linux" ]; then
60-
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev
61-
elif [ "$RUNNER_OS" == "macOS" ]; then
62-
brew install capnp llvm
63-
elif [ "$RUNNER_OS" == "Windows" ]; then
64-
choco install -y capnproto
65-
fi
66-
67-
- name: Pull Git LFS objects
68-
run: git lfs pull
69-
env:
70-
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
71-
72-
- uses: actions-rs/toolchain@v1
73-
with:
74-
profile: minimal
75-
toolchain: stable
76-
77-
- uses: Swatinem/rust-cache@v1
78-
79-
- uses: davidB/rust-cargo-make@v1
80-
with:
81-
version: ${{ env.CARGO_MAKE_VERSION }}
82-
83-
- name: Cache pip
84-
uses: actions/cache@v2
85-
with:
86-
path: ${{ env.PIP_CACHE_DIR }}
87-
key: ${{ runner.os }}-pyproject-toml-${{ hashFiles('pyproject.toml') }}
88-
restore-keys: |
89-
${{ runner.os }}-pyproject-toml-
90-
${{ runner.os }}-
91-
92-
- name: Set up python builder
93-
run: |
94-
cargo make setup-builder
95-
96-
- name: Run Backend Benchmarks (Windows)
97-
env:
98-
LIBCLANG_PATH: ${{ env.LIBCLANG_PATH_WIN }}
99-
run: |
100-
cargo make backend-benches
101-
if: matrix.os == 'windows-2019'
102-
103-
- name: Run Backend Benchmarks
104-
run: |
105-
cargo make backend-benches
106-
if: matrix.os != 'windows-2019'
107-
108-
checks:
109-
110-
name: Code Quality Checks
111-
112-
runs-on: ubuntu-18.04
113-
114-
steps:
115-
116-
- name: Checkout source
117-
uses: actions/checkout@v2
118-
with:
119-
submodules: recursive
120-
ssh-key: ${{ secrets.SSH_KEY }}
121-
ssh-strict: false
122-
123-
- uses: webfactory/[email protected]
124-
with:
125-
ssh-private-key: ${{ secrets.SSH_KEY }}
126-
127-
- name: Pull Git LFS objects
128-
run: git lfs pull
129-
env:
130-
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
131-
132-
- name: Install stable Rust
133-
uses: actions-rs/toolchain@v1
134-
with:
135-
toolchain: stable
136-
override: true
137-
components: rustfmt, clippy
138-
139-
- uses: Swatinem/rust-cache@v1
140-
141-
- uses: davidB/rust-cargo-make@v1
142-
with:
143-
version: ${{ env.CARGO_MAKE_VERSION }}
144-
145-
- name: Install Dependencies.
146-
run: |
147-
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev
148-
149-
- name: Cache pip
150-
uses: actions/cache@v2
151-
with:
152-
path: ${{ env.PIP_CACHE_DIR }}
153-
key: ${{ runner.os }}-pyproject-toml-${{ hashFiles('pyproject.toml') }}
154-
restore-keys: |
155-
${{ runner.os }}-pyproject-toml-
156-
${{ runner.os }}-
157-
158-
- name: Set up python builder
159-
run: |
160-
cargo make setup-builder
161-
162-
- name: Run Checks
163-
run: |
164-
cargo make check-all
165-
166-
- name: Run Tests
167-
run: |
168-
cargo make tests
21+
# backend_bench:
22+
23+
# name: Backend Benchmarks
24+
25+
# strategy:
26+
# matrix:
27+
# os:
28+
# # - ubuntu-18.04
29+
# # - macos-10.15
30+
# - windows-2019
31+
32+
# runs-on: ${{ matrix.os }}
33+
34+
# steps:
35+
36+
# - name: Checkout source
37+
# uses: actions/checkout@v2
38+
# with:
39+
# submodules: recursive
40+
# ssh-key: ${{ secrets.SSH_KEY }}
41+
# ssh-strict: false
42+
43+
# - uses: webfactory/[email protected]
44+
# with:
45+
# ssh-private-key: ${{ secrets.SSH_KEY }}
46+
47+
# - name: Run ssh-keyscan
48+
# run: ssh-keyscan github.com >> ~/.ssh/known_hosts
49+
50+
# - name: Setup SSH for Windows Git LFS
51+
# run: |
52+
# & "C:\\Program Files\\Git\\bin\\sh.exe" -c "ssh-keyscan github.com >> ~/.ssh/known_hosts"
53+
# & "C:\\Program Files\\Git\\bin\\sh.exe" -c "echo '${{ secrets.SSH_KEY }}' >> ~/.ssh/id_rsa"
54+
# if: matrix.os == 'windows-2019'
55+
56+
# - name: Install ${{ runner.os }} Dependencies.
57+
# shell: bash
58+
# run: |
59+
# if [ "$RUNNER_OS" == "Linux" ]; then
60+
# sudo apt-get update && sudo apt-get install -y capnproto libudev-dev
61+
# elif [ "$RUNNER_OS" == "macOS" ]; then
62+
# brew install capnp llvm
63+
# elif [ "$RUNNER_OS" == "Windows" ]; then
64+
# choco install -y capnproto
65+
# fi
66+
67+
# - name: Pull Git LFS objects
68+
# run: git lfs pull
69+
# env:
70+
# GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
71+
72+
# - uses: actions-rs/toolchain@v1
73+
# with:
74+
# profile: minimal
75+
# toolchain: stable
76+
77+
# - uses: Swatinem/rust-cache@v1
78+
79+
# - uses: davidB/rust-cargo-make@v1
80+
# with:
81+
# version: ${{ env.CARGO_MAKE_VERSION }}
82+
83+
# - name: Cache pip
84+
# uses: actions/cache@v2
85+
# with:
86+
# path: ${{ env.PIP_CACHE_DIR }}
87+
# key: ${{ runner.os }}-pyproject-toml-${{ hashFiles('pyproject.toml') }}
88+
# restore-keys: |
89+
# ${{ runner.os }}-pyproject-toml-
90+
# ${{ runner.os }}-
91+
92+
# - name: Set up python builder
93+
# run: |
94+
# cargo make setup-builder
95+
96+
# - name: Run Backend Benchmarks (Windows)
97+
# env:
98+
# LIBCLANG_PATH: ${{ env.LIBCLANG_PATH_WIN }}
99+
# run: |
100+
# cargo make backend-benches
101+
# if: matrix.os == 'windows-2019'
102+
103+
# - name: Run Backend Benchmarks
104+
# run: |
105+
# cargo make backend-benches
106+
# if: matrix.os != 'windows-2019'
107+
108+
# checks:
109+
110+
# name: Code Quality Checks
111+
112+
# runs-on: ubuntu-18.04
113+
114+
# steps:
115+
116+
# - name: Checkout source
117+
# uses: actions/checkout@v2
118+
# with:
119+
# submodules: recursive
120+
# ssh-key: ${{ secrets.SSH_KEY }}
121+
# ssh-strict: false
122+
123+
# - uses: webfactory/[email protected]
124+
# with:
125+
# ssh-private-key: ${{ secrets.SSH_KEY }}
126+
127+
# - name: Pull Git LFS objects
128+
# run: git lfs pull
129+
# env:
130+
# GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
131+
132+
# - name: Install stable Rust
133+
# uses: actions-rs/toolchain@v1
134+
# with:
135+
# toolchain: stable
136+
# override: true
137+
# components: rustfmt, clippy
138+
139+
# - uses: Swatinem/rust-cache@v1
140+
141+
# - uses: davidB/rust-cargo-make@v1
142+
# with:
143+
# version: ${{ env.CARGO_MAKE_VERSION }}
144+
145+
# - name: Install Dependencies.
146+
# run: |
147+
# sudo apt-get update && sudo apt-get install -y capnproto libudev-dev
148+
149+
# - name: Cache pip
150+
# uses: actions/cache@v2
151+
# with:
152+
# path: ${{ env.PIP_CACHE_DIR }}
153+
# key: ${{ runner.os }}-pyproject-toml-${{ hashFiles('pyproject.toml') }}
154+
# restore-keys: |
155+
# ${{ runner.os }}-pyproject-toml-
156+
# ${{ runner.os }}-
157+
158+
# - name: Set up python builder
159+
# run: |
160+
# cargo make setup-builder
161+
162+
# - name: Run Checks
163+
# run: |
164+
# cargo make check-all
165+
166+
# - name: Run Tests
167+
# run: |
168+
# cargo make tests
169169

170170
build:
171171

172172
name: Build Binaries
173173

174-
needs:
175-
- checks
176-
- backend_bench
174+
# needs:
175+
# - checks
176+
# - backend_bench
177177

178178
strategy:
179179
matrix:
@@ -369,22 +369,22 @@ jobs:
369369
ls -la ..
370370
ls -la ../utils
371371
if [ "$RUNNER_OS" == "Windows" ]; then
372-
python ../utils/bench_runner.py --frontend_cpu --executable="Scripts/swiftnav-console.exe"
372+
python ./bench_runner.py --frontend_cpu --executable="Scripts/swiftnav-console.exe"
373373
elif [ "$RUNNER_OS" == "macOS" ]; then
374-
python ../utils/bench_runner.py --frontend_cpu --executable="bin/swiftnav-console"
374+
python ./bench_runner.py --frontend_cpu --executable="bin/swiftnav-console"
375375
elif [ "$RUNNER_OS" == "Linux" ]; then
376-
python ../utils/bench_runner.py --frontend_cpu --executable="bin/swiftnav-console"
376+
python ./bench_runner.py --frontend_cpu --executable="bin/swiftnav-console"
377377
fi
378378
- name: Run MEM Frontend Benchmark.
379379
shell: bash
380380
run: |
381381
cd console
382382
if [ "$RUNNER_OS" == "Windows" ]; then
383-
python ../utils/bench_runner.py --frontend_mem --executable="Scripts/swiftnav-console.exe"
383+
python ./bench_runner.py --frontend_mem --executable="Scripts/swiftnav-console.exe"
384384
elif [ "$RUNNER_OS" == "macOS" ]; then
385-
python ../utils/bench_runner.py --frontend_mem --executable="bin/swiftnav-console"
385+
python ./bench_runner.py --frontend_mem --executable="bin/swiftnav-console"
386386
elif [ "$RUNNER_OS" == "Linux" ]; then
387-
python ../utils/bench_runner.py --frontend_mem --executable="bin/swiftnav-console"
387+
python ./bench_runner.py --frontend_mem --executable="bin/swiftnav-console"
388388
fi
389389
390390

0 commit comments

Comments
 (0)