Skip to content

Commit ae8298b

Browse files
committed
update CI based on master
1 parent 5cb0c3c commit ae8298b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.gitea/workflows/zig-mach.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,20 @@ jobs:
2626
with:
2727
ref: zig-mach
2828
- name: Setup Zig
29-
uses: mlugg/[email protected]
29+
uses: https://github.com/mlugg/[email protected]
3030
with:
3131
version: mach-latest
32+
- name: Restore Zig caches
33+
uses: https://github.com/Hanaasagi/zig-action-cache@3954aae427f8b05914e08dfd79f15e1f2e435929
3234
- name: Run gen
3335
run: zig build gen --verbose
3436
- name: Run smoke test
3537
run: zig build smoke-test --verbose
3638
- name: Run full tests
37-
run: zig build test --verbose
39+
run: zig build test --verbose --summary all
40+
# TODO: Zig mach currently tracking behind zig 0.14.0 branch - enable this test after update
41+
# - name: Run tests (release mode)
42+
# run: zig build test -Doptimize=ReleaseSafe --verbose
3843
# Zig package manager expects everything to be inside a directory in the archive,
3944
# which it then strips out on download. So we need to shove everything inside a directory
4045
# the way GitHub/Gitea does for repo archives
@@ -67,7 +72,7 @@ jobs:
6772
# - run: echo "URL of foo (1) is ${{ steps.sign.outputs.URL_1 }}"
6873
- name: Publish source code with generated models
6974
run: |
70-
curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \
75+
curl -s --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \
7176
--upload-file ${{ runner.temp }}/${{ github.sha }}${{ env.PKG_PREFIX }}-with-models.tar.gz \
7277
https://git.lerch.org/api/packages/lobo/generic/aws-sdk-with-models/${{ github.sha }}/${{ github.sha }}${{ env.PKG_PREFIX }}-with-models.tar.gz
7378
- name: Build example

0 commit comments

Comments
 (0)