Skip to content

Commit 1455412

Browse files
committed
chore: Run build and test suite jobs on MacOS and Windows
We add a job matrix so we build and test Verso on MacOS and Windows. In order to avoid multiple uploads, we split the upload step to its own job, which still runs on Linux. Other changes: - elan version updated
1 parent 133855d commit 1455412

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ name: Continuous Integration
1414
jobs:
1515
build:
1616
name: Build and test
17-
runs-on: nscloud-ubuntu-22.04-amd64-8x16
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
matrix:
20+
os: [nscloud-ubuntu-22.04-amd64-8x16, macos-latest, windows-latest]
1821
env:
1922
# Used for browser tests. Placing them here allows caching to work right.
2023
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.playwright-browsers
2124
steps:
2225
- name: install elan
2326
run: |
2427
set -o pipefail
25-
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.0.0/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
28+
curl -sSfL https://github.com/leanprover/elan/releases/download/v4.1.2/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
2629
./elan-init -y --default-toolchain none
2730
echo "$HOME/.elan/bin" >> "$GITHUB_PATH"
2831
@@ -188,6 +191,14 @@ jobs:
188191
run: uv run --project browser-tests --extra test pytest browser-tests -v
189192
# End browser testing
190193

194+
upload:
195+
name: Upload Artifact and Releases
196+
needs: build
197+
runs-on: nscloud-ubuntu-22.04-amd64-8x16
198+
env:
199+
# Used for browser tests. Placing them here allows caching to work right.
200+
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.playwright-browsers
201+
steps:
191202
- name: Upload docs to artifact storage
192203
if: github.ref_type != 'tag' && github.ref != 'refs/heads/main'
193204
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)