mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-14 09:32:19 +00:00
ci: update actions (#535)
This updates the GitHub actions to avoid errors related to deprecations; see [this example]. [this example]: https://github.com/WebAssembly/wasi-libc/actions/runs/10839597105/job/30080296576
This commit is contained in:
parent
1b19fc65ad
commit
7d4d3b83fc
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
clang_version: 16.0.0
|
clang_version: 16.0.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
@ -135,10 +135,12 @@ jobs:
|
|||||||
# which is required by our malloc implementation.
|
# which is required by our malloc implementation.
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.clang_version != '10.0.0'
|
if: matrix.os == 'ubuntu-latest' && matrix.clang_version != '10.0.0'
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v4.4.0
|
||||||
with:
|
with:
|
||||||
# Upload the sysroot folder. Give it a name according to the OS it was built for.
|
# Upload the sysroot folder. To avoid action erros, we give it a unique
|
||||||
name: ${{ format( 'sysroot-{0}.tgz', matrix.os) }}
|
# name using the OS it was built for and the Clang version it was built
|
||||||
|
# with.
|
||||||
|
name: ${{ format( 'sysroot-{0}-clang-{1}.tgz', matrix.os, matrix.clang_version) }}
|
||||||
path: sysroot
|
path: sysroot
|
||||||
|
|
||||||
# Disable the headerstest job for now, while WASI transitions from the
|
# Disable the headerstest job for now, while WASI transitions from the
|
||||||
@ -152,7 +154,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install Rust (rustup)
|
- name: Install Rust (rustup)
|
||||||
@ -175,7 +177,7 @@ jobs:
|
|||||||
name: Rustfmt
|
name: Rustfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
|
Loading…
Reference in New Issue
Block a user