Update checkout actions

Fixes: https://github.com/quickjs-ng/quickjs/issues/292
This commit is contained in:
Saúl Ibarra Corretgé 2024-03-06 10:10:02 +01:00
parent d49a14ba3a
commit c61336c4fc
2 changed files with 28 additions and 28 deletions

View file

@ -18,7 +18,7 @@ jobs:
codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make codegen
@ -31,7 +31,7 @@ jobs:
matrix:
buildType: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: build
@ -57,7 +57,7 @@ jobs:
run:
shell: alpine.sh {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
arch: x86
@ -124,7 +124,7 @@ jobs:
linux-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make BUILD_EXAMPLES=ON
@ -146,7 +146,7 @@ jobs:
linux-shared:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make BUILD_SHARED_LIBS=ON
@ -157,7 +157,7 @@ jobs:
linux-asan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: build
@ -176,7 +176,7 @@ jobs:
linux-msan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: build
@ -192,7 +192,7 @@ jobs:
linux-ubsan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: build
@ -216,7 +216,7 @@ jobs:
matrix:
buildType: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make BUILD_TYPE=${{matrix.buildType}}
@ -229,7 +229,7 @@ jobs:
macos-examples:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make BUILD_EXAMPLES=ON
@ -251,7 +251,7 @@ jobs:
macos-shared:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make BUILD_SHARED_LIBS=ON
@ -262,7 +262,7 @@ jobs:
macos-asan:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make CONFIG_ASAN=ON
@ -274,7 +274,7 @@ jobs:
macos-ubsan:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
make CONFIG_UBSAN=ON
@ -291,7 +291,7 @@ jobs:
matrix:
buildType: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022"
@ -319,7 +319,7 @@ jobs:
matrix:
buildType: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022" -T ClangCL
@ -355,7 +355,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
@ -383,7 +383,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
@ -405,7 +405,7 @@ jobs:
emscripten:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v13
- name: check emsdk
run: emcc -v
@ -418,7 +418,7 @@ jobs:
wasi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jcbhmr/setup-wasmtime@v2
- name: setup wasi-sdk
run: |
@ -446,7 +446,7 @@ jobs:
with:
packages: make cmake gcc-g++ bash
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: make
@ -460,7 +460,7 @@ jobs:
openbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build + test
uses: vmactions/openbsd-vm@v1
with:
@ -474,7 +474,7 @@ jobs:
freebsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build + test
uses: vmactions/freebsd-vm@v1
with:
@ -488,7 +488,7 @@ jobs:
netbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build + test
uses: vmactions/netbsd-vm@v1
with:

View file

@ -9,7 +9,7 @@ jobs:
linux-x86:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
arch: x86
@ -37,7 +37,7 @@ jobs:
linux-x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
arch: x86_64
@ -65,7 +65,7 @@ jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
mkdir build
@ -89,7 +89,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
@ -121,7 +121,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with: