Skip to content

Commit

Permalink
Merge branch 'main' into aarch64-pc-windows-msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Jan 31, 2025
2 parents 6e17586 + 7c9660a commit 4427469
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "22"
- uses: denoland/setup-deno@v2
- uses: denoland/setup-deno@4606d5cc6fb3f673efd4f594850e3f4b3e9d29cd # v2
with:
deno-version: v2.x
- run: make smoketest
32 changes: 16 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v4

- name: Install ziglang
uses: mlugg/setup-zig@v1
uses: mlugg/setup-zig@a67e68dc5c8281d9608136d3d7ca1b282213e4ac # v1

- name: Install latest rust and cargo-zigbuild
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
sudo sha256sum "${FILE}.so" > ${FILE}.so.sha256sum
- name: Store the .so file and the sha256sum file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-binaries
path: target/x86_64-unknown-linux-gnu/release/libzen_internals_*
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
sudo sha256sum "${FILE}.so" > ${FILE}.so.sha256sum
- name: Store the .so file and the sha256sum file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-binaries-arm64
path: target/aarch64-unknown-linux-gnu/release/libzen_internals_*
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
sudo sha256sum "${FILE}" > ${FILE}.sha256sum
- name: Store the .dll file and sha256sum file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows-binaries
path: target/x86_64-pc-windows-gnu/release/libzen_internals_*
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
printf "::set-output name=%s::%s\n" sha256sum "${CHECKSUM}"
- name: Store the .dylib file and the sha256sum file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mac-binaries
path: target/x86_64-apple-darwin/release/libzen_internals_*
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
printf "::set-output name=%s::%s\n" sha256sum "${CHECKSUM}"
- name: Store the .dylib file and the sha256sum file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mac-binaries-arm64
path: target/aarch64-apple-darwin/release/libzen_internals_*
Expand All @@ -205,8 +205,8 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: Install latest rust toolchain
Expand All @@ -224,7 +224,7 @@ jobs:
sudo touch ${FILE}.sha256sum && sudo chmod 777 ${FILE}.sha256sum
sudo sha256sum "${FILE}" > ${FILE}.sha256sum
- name: Store the .tgz file and the sha256sum file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wasm-binaries
path: pkg/zen_internals.tgz*
Expand All @@ -244,7 +244,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Create Release
uses: actions/create-release@v1
Expand All @@ -258,7 +258,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
# Add Linux binary and sha file to release :
- name: Download Linux binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-binaries
path: ./artifacts/linux
Expand All @@ -283,7 +283,7 @@ jobs:

# Add Linux arm64 binary and sha file to release :
- name: Download Linux binaries (arm64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-binaries-arm64
path: ./artifacts/linux-arm64
Expand All @@ -308,7 +308,7 @@ jobs:

# Add Windows binary and sha file to release :
- name: Download Windows binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: windows-binaries
path: ./artifacts/windows
Expand All @@ -333,7 +333,7 @@ jobs:

# Add Mac binary and sha file to release :
- name: Download Mac OS X binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: mac-binaries
path: ./artifacts/mac
Expand All @@ -358,7 +358,7 @@ jobs:

# Add Mac arm64 binary and sha file to release :
- name: Download Mac OS X binaries (arm64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: mac-binaries-arm64
path: ./artifacts/mac-arm64
Expand All @@ -383,7 +383,7 @@ jobs:

# Add WASM binary and sha file to release :
- name: Download WASM binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wasm-binaries
path: ./artifacts/wasm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
rustup component add llvm-tools-preview
- name: Install code coverage tool
uses: taiki-e/install-action@cargo-llvm-cov
uses: taiki-e/install-action@11f460a4042c6aedd95853e41f4eb4f10459fc5d # cargo-llvm-cov

- name: Run tests
run: cargo llvm-cov
Expand All @@ -34,7 +34,7 @@ jobs:
run: cargo llvm-cov report --lcov --output-path target/lcov.info

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
if: ${{ github.event.inputs == null || github.event.inputs.upload_coverage == true }}
with:
fail_ci_if_error: true
Expand Down

0 comments on commit 4427469

Please sign in to comment.