update CI based on master
Some checks failed
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Failing after 3h10m4s
Some checks failed
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Failing after 3h10m4s
This commit is contained in:
parent
5cb0c3cc88
commit
ae8298b18c
1 changed files with 8 additions and 3 deletions
|
@ -26,15 +26,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: zig-mach
|
ref: zig-mach
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
uses: mlugg/setup-zig@v1.2.1
|
uses: https://github.com/mlugg/setup-zig@v1.2.1
|
||||||
with:
|
with:
|
||||||
version: mach-latest
|
version: mach-latest
|
||||||
|
- name: Restore Zig caches
|
||||||
|
uses: https://github.com/Hanaasagi/zig-action-cache@3954aae427f8b05914e08dfd79f15e1f2e435929
|
||||||
- name: Run gen
|
- name: Run gen
|
||||||
run: zig build gen --verbose
|
run: zig build gen --verbose
|
||||||
- name: Run smoke test
|
- name: Run smoke test
|
||||||
run: zig build smoke-test --verbose
|
run: zig build smoke-test --verbose
|
||||||
- name: Run full tests
|
- name: Run full tests
|
||||||
run: zig build test --verbose
|
run: zig build test --verbose --summary all
|
||||||
|
# TODO: Zig mach currently tracking behind zig 0.14.0 branch - enable this test after update
|
||||||
|
# - name: Run tests (release mode)
|
||||||
|
# run: zig build test -Doptimize=ReleaseSafe --verbose
|
||||||
# Zig package manager expects everything to be inside a directory in the archive,
|
# Zig package manager expects everything to be inside a directory in the archive,
|
||||||
# which it then strips out on download. So we need to shove everything inside a directory
|
# which it then strips out on download. So we need to shove everything inside a directory
|
||||||
# the way GitHub/Gitea does for repo archives
|
# the way GitHub/Gitea does for repo archives
|
||||||
|
@ -67,7 +72,7 @@ jobs:
|
||||||
# - run: echo "URL of foo (1) is ${{ steps.sign.outputs.URL_1 }}"
|
# - run: echo "URL of foo (1) is ${{ steps.sign.outputs.URL_1 }}"
|
||||||
- name: Publish source code with generated models
|
- name: Publish source code with generated models
|
||||||
run: |
|
run: |
|
||||||
curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \
|
curl -s --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \
|
||||||
--upload-file ${{ runner.temp }}/${{ github.sha }}${{ env.PKG_PREFIX }}-with-models.tar.gz \
|
--upload-file ${{ runner.temp }}/${{ github.sha }}${{ env.PKG_PREFIX }}-with-models.tar.gz \
|
||||||
https://git.lerch.org/api/packages/lobo/generic/aws-sdk-with-models/${{ github.sha }}/${{ github.sha }}${{ env.PKG_PREFIX }}-with-models.tar.gz
|
https://git.lerch.org/api/packages/lobo/generic/aws-sdk-with-models/${{ github.sha }}/${{ github.sha }}${{ env.PKG_PREFIX }}-with-models.tar.gz
|
||||||
- name: Build example
|
- name: Build example
|
||||||
|
|
Loading…
Add table
Reference in a new issue