Merge pull request #2751 from jriwanek-forks/actions
Update github actions to v3
This commit is contained in:
2
.github/workflows/c-cpp.yml
vendored
2
.github/workflows/c-cpp.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
${{ matrix.environment.prefix }}-libpng
|
${{ matrix.environment.prefix }}-libpng
|
||||||
${{ matrix.environment.prefix }}-libvncserver
|
${{ matrix.environment.prefix }}-libvncserver
|
||||||
${{ matrix.environment.prefix }}-rtmidi
|
${{ matrix.environment.prefix }}-rtmidi
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: make
|
- name: make
|
||||||
run: make -fwin/makefile.mingw -j DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }} X64=${{ matrix.environment.x64 }} VNC=n
|
run: make -fwin/makefile.mingw -j DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }} X64=${{ matrix.environment.x64 }} VNC=n
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
|
16
.github/workflows/cmake.yml
vendored
16
.github/workflows/cmake.yml
vendored
@@ -78,7 +78,7 @@ jobs:
|
|||||||
${{ matrix.environment.prefix }}-libvncserver
|
${{ matrix.environment.prefix }}-libvncserver
|
||||||
${{ matrix.environment.prefix }}-openal
|
${{ matrix.environment.prefix }}-openal
|
||||||
${{ matrix.environment.prefix }}-rtmidi
|
${{ matrix.environment.prefix }}-rtmidi
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >-
|
run: >-
|
||||||
cmake -G Ninja -S . -B build --preset ${{ matrix.build.preset }}
|
cmake -G Ninja -S . -B build --preset ${{ matrix.build.preset }}
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
- name: Generate package
|
- name: Generate package
|
||||||
run: cmake --install build
|
run: cmake --install build
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: '86Box${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-Windows-${{ matrix.environment.msystem }}-gha${{ github.run_number }}'
|
name: '86Box${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-Windows-${{ matrix.environment.msystem }}-gha${{ github.run_number }}'
|
||||||
path: build/artifacts/**
|
path: build/artifacts/**
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
name: ARM64
|
name: ARM64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Prepare VS environment
|
- name: Prepare VS environment
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
@@ -189,7 +189,7 @@ jobs:
|
|||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
- name: Generate package
|
- name: Generate package
|
||||||
run: cmake --install build --prefix ./build/artifacts
|
run: cmake --install build --prefix ./build/artifacts
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: '86Box${{ matrix.ui.slug }}${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-Windows-LLVM-${{ matrix.target.name }}-gha${{ github.run_number }}'
|
name: '86Box${{ matrix.ui.slug }}${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-Windows-LLVM-${{ matrix.target.name }}-gha${{ github.run_number }}'
|
||||||
path: build/artifacts/**
|
path: build/artifacts/**
|
||||||
@@ -218,7 +218,7 @@ jobs:
|
|||||||
slug: -NDR
|
slug: -NDR
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: >-
|
run: >-
|
||||||
sudo apt update && sudo apt install
|
sudo apt update && sudo apt install
|
||||||
@@ -241,7 +241,7 @@ jobs:
|
|||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
# - name: Generate package
|
# - name: Generate package
|
||||||
# run: cmake --install build --prefix ./build/artifacts
|
# run: cmake --install build --prefix ./build/artifacts
|
||||||
# - uses: actions/upload-artifact@v2
|
# - uses: actions/upload-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
# name: '86Box${{ matrix.build.slug }}-UbuntuJammy-x86_64-gha${{ github.run_number }}'
|
# name: '86Box${{ matrix.build.slug }}-UbuntuJammy-x86_64-gha${{ github.run_number }}'
|
||||||
# path: build/artifacts/**
|
# path: build/artifacts/**
|
||||||
@@ -270,7 +270,7 @@ jobs:
|
|||||||
slug: -NDR
|
slug: -NDR
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install freetype sdl2 libpng rtmidi qt@5 openal-soft ninja
|
run: brew install freetype sdl2 libpng rtmidi qt@5 openal-soft ninja
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
@@ -285,7 +285,7 @@ jobs:
|
|||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
- name: Generate package
|
- name: Generate package
|
||||||
run: cmake --install build --prefix ./build/artifacts
|
run: cmake --install build --prefix ./build/artifacts
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: '86Box${{ matrix.build.slug }}-macOS-x86_64-gha${{ github.run_number }}'
|
name: '86Box${{ matrix.build.slug }}-macOS-x86_64-gha${{ github.run_number }}'
|
||||||
path: build/artifacts/**
|
path: build/artifacts/**
|
||||||
|
Reference in New Issue
Block a user