mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-25 05:31:56 -04:00
ci: Update actions (#1268)
This commit is contained in:
parent
b4d2ea72af
commit
63f16fd776
2
.github/workflows/analyze.yml
vendored
2
.github/workflows/analyze.yml
vendored
@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
decomplint-isle:
|
||||
name: '${{ matrix.who }} annotations'
|
||||
name: ${{ matrix.who }} annotations
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
uses: ./.github/workflows/legobin.yml
|
||||
|
||||
build-current-toolchain:
|
||||
name: 'Current ${{ matrix.toolchain.name }}'
|
||||
name: Current ${{ matrix.toolchain.name }}
|
||||
runs-on: windows-latest
|
||||
defaults:
|
||||
run:
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
- name: Setup cmake
|
||||
if: matrix.toolchain.setup-cmake
|
||||
uses: jwlawson/actions-setup-cmake@v1.13
|
||||
uses: jwlawson/actions-setup-cmake@v2
|
||||
|
||||
- name: Setup ninja
|
||||
if: matrix.toolchain.setup-ninja
|
||||
@ -68,11 +68,11 @@ jobs:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'itsmattkc/msvc420'
|
||||
repository: itsmattkc/msvc420
|
||||
path: msvc420
|
||||
|
||||
- name: Setup cmake
|
||||
uses: jwlawson/actions-setup-cmake@v1.13
|
||||
uses: jwlawson/actions-setup-cmake@v2
|
||||
with:
|
||||
# Use minimum supported version
|
||||
cmake-version: '3.15.x'
|
||||
@ -89,7 +89,7 @@ jobs:
|
||||
cmake --build build
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: Win32
|
||||
path: |
|
||||
@ -101,24 +101,24 @@ jobs:
|
||||
build/LEGO1.PDB
|
||||
|
||||
compare:
|
||||
name: 'Compare with master'
|
||||
name: Compare with master
|
||||
needs: [build, fetch-deps]
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@main
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
- uses: actions/download-artifact@master
|
||||
- uses: actions/download-artifact@main
|
||||
with:
|
||||
name: Win32
|
||||
path: build
|
||||
|
||||
- name: Restore cached original binaries
|
||||
id: cache-original-binaries
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
enableCrossOsArchive: true
|
||||
path: legobin
|
||||
@ -173,7 +173,7 @@ jobs:
|
||||
reccmp-datacmp --target LEGO1
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: Accuracy Report
|
||||
path: |
|
||||
@ -182,21 +182,21 @@ jobs:
|
||||
LEGO1PROGRESS.*
|
||||
|
||||
upload:
|
||||
name: 'Upload artifacts'
|
||||
name: Upload artifacts
|
||||
needs: [build, compare]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'isledecomp/isle' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'probonopd/uploadtool'
|
||||
repository: probonopd/uploadtool
|
||||
|
||||
- uses: actions/download-artifact@master
|
||||
- uses: actions/download-artifact@main
|
||||
with:
|
||||
name: Win32
|
||||
path: build
|
||||
|
||||
- uses: actions/download-artifact@master
|
||||
- uses: actions/download-artifact@main
|
||||
with:
|
||||
name: Accuracy Report
|
||||
|
||||
|
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
clang-format:
|
||||
name: 'C++'
|
||||
name: C++
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@ -16,4 +16,4 @@ jobs:
|
||||
pipx run "clang-format>=17,<18" \
|
||||
--style=file \
|
||||
-i
|
||||
git diff --exit-code
|
||||
git diff --exit-code
|
||||
|
4
.github/workflows/legobin.yml
vendored
4
.github/workflows/legobin.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
- name: Restore cached original binaries
|
||||
id: cache-original-binaries
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
enableCrossOsArchive: true
|
||||
path: legobin
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Cache original binaries
|
||||
if: ${{ !steps.cache-original-binaries.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
enableCrossOsArchive: true
|
||||
path: legobin
|
||||
|
6
.github/workflows/naming.yml
vendored
6
.github/workflows/naming.yml
vendored
@ -4,16 +4,16 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
ncc:
|
||||
name: 'C++'
|
||||
name: C++
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install LLVM and Clang
|
||||
uses: KyleMayes/install-llvm-action@v1
|
||||
uses: KyleMayes/install-llvm-action@v2
|
||||
with:
|
||||
version: "16"
|
||||
version: '16'
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user