mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-25 17:38:22 +08:00
Fix CI/CD
- update Linux and macOS runners to ubuntu-latest and macos-latest - update Windows runner to use windows-2019 and VS 2019 (still with XP targeting)
This commit is contained in:
parent
cc274319bf
commit
e36cc77c06
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -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: |
|
||||||
|
Loading…
Reference in New Issue
Block a user