Skip to content

Commit e2ed7f1

Browse files
committed
Adjust CI for zig 0.16
1 parent dafd121 commit e2ed7f1

1 file changed

Lines changed: 1 addition & 23 deletions

File tree

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: build-and-test
22
on:
33
push:
44
pull_request:
5-
schedule:
6-
- cron: 0 4 * * *
75

86
env:
9-
zig_version: master
7+
zig_version: 0.16.0
108

119
jobs:
1210
build-and-test-linux:
@@ -20,11 +18,6 @@ jobs:
2018
- run: zig build
2119
- run: zig build test
2220
- run: zig build docs
23-
- name: Upload docs artifact
24-
if: github.ref == 'refs/heads/main' && github.event_name != 'schedule'
25-
uses: actions/upload-pages-artifact@v3
26-
with:
27-
path: ./zig-out/docs/
2821

2922
build-and-test-windows:
3023
runs-on: windows-latest
@@ -35,18 +28,3 @@ jobs:
3528
version: ${{ env.zig_version }}
3629
- run: zig build
3730
- run: zig build test
38-
39-
deploy-pages:
40-
runs-on: ubuntu-latest
41-
needs: build-and-test-linux
42-
if: github.ref == 'refs/heads/main' && github.event_name != 'schedule'
43-
permissions:
44-
pages: write # to deploy to Pages
45-
id-token: write # to verify the deployment originates from an appropriate source
46-
environment:
47-
name: github-pages
48-
url: ${{ steps.deployment.outputs.page_url }}
49-
steps:
50-
- name: Deploy to GitHub Pages
51-
id: deployment
52-
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)