Merge pull request #273 from LongSoft/PR/modernize_cicd_runners

Fix CI/CD
This commit is contained in:
Nikolaj Schlej 2022-08-25 07:08:12 +02:00 committed by GitHub
commit d7f360e337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ on:
jobs: jobs:
build_mac: build_mac:
name: Build on macOS name: Build on macOS
runs-on: macos-10.15 runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: ./unixbuild.sh - run: ./unixbuild.sh
@ -30,7 +30,7 @@ jobs:
build_linux: build_linux:
name: Build on Linux name: Build on Linux
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Get Qt - name: Get Qt
@ -52,7 +52,7 @@ jobs:
build_win_extract: build_win_extract:
name: Build on Windows name: Build on Windows
runs-on: windows-2016 runs-on: windows-2019
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -75,7 +75,7 @@ jobs:
- name: Configure UEFIExtract - name: Configure UEFIExtract
shell: bash shell: bash
working-directory: ${{runner.workspace}}/build/UEFIExtract working-directory: ${{runner.workspace}}/build/UEFIExtract
run: cmake -G "Visual Studio 15 2017" -T "v141_xp" -DU_STATIC_RT=YES ../../UEFITool/UEFIExtract/ run: cmake -G "Visual Studio 16 2019" -T "v141_xp" -DU_STATIC_RT=YES ../../UEFITool/UEFIExtract/
- name: Build UEFIExtract - name: Build UEFIExtract
working-directory: ${{runner.workspace}}/build/UEFIExtract working-directory: ${{runner.workspace}}/build/UEFIExtract
shell: bash shell: bash
@ -92,7 +92,7 @@ jobs:
- name: Configure UEFIFind - name: Configure UEFIFind
shell: bash shell: bash
working-directory: ${{runner.workspace}}/build/UEFIFind working-directory: ${{runner.workspace}}/build/UEFIFind
run: cmake -G "Visual Studio 15 2017" -T "v141_xp" -DU_STATIC_RT=YES ../../UEFITool/UEFIFind/ run: cmake -G "Visual Studio 16 2019" -T "v141_xp" -DU_STATIC_RT=YES ../../UEFITool/UEFIFind/
- name: Build UEFIFind - name: Build UEFIFind
working-directory: ${{runner.workspace}}/build/UEFIFind working-directory: ${{runner.workspace}}/build/UEFIFind
shell: bash shell: bash
@ -114,7 +114,7 @@ jobs:
working-directory: ${{runner.workspace}}/build/UEFITool working-directory: ${{runner.workspace}}/build/UEFITool
shell: cmd shell: cmd
run: | run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
nmake release nmake release
- name: Archive UEFITool - name: Archive UEFITool
working-directory: ${{runner.workspace}}/build/UEFITool/release working-directory: ${{runner.workspace}}/build/UEFITool/release
@ -143,7 +143,7 @@ jobs:
JOB_TYPE: COVERITY JOB_TYPE: COVERITY
if: github.repository_owner == 'LongSoft' && github.event_name != 'pull_request' if: github.repository_owner == 'LongSoft' && github.event_name != 'pull_request'
name: Analyze Coverity name: Analyze Coverity
runs-on: macos-10.15 runs-on: macos-latest
steps: steps:
- name: CI Bootstrap - name: CI Bootstrap
run: | run: |