use ubuntu 20.04

This commit is contained in:
arm64v8a 2022-08-12 16:44:26 +08:00
parent 4ed46c10fe
commit 393564da6d

View File

@ -37,7 +37,7 @@ jobs:
build-cpp: build-cpp:
strategy: strategy:
matrix: matrix:
platform: [ windows-2022, ubuntu-18.04 ] platform: [ windows-2022, ubuntu-20.04 ]
arch: [ x64 ] arch: [ x64 ]
qt_version: [ 5.15.2 ] qt_version: [ 5.15.2 ]
include: include:
@ -85,7 +85,7 @@ jobs:
version: 1.10.0 version: 1.10.0
- name: Linux - ${{ matrix.arch }} - ${{ matrix.qt_version }} - Setup Ninja - name: Linux - ${{ matrix.arch }} - ${{ matrix.qt_version }} - Setup Ninja
shell: bash shell: bash
if: matrix.platform == 'ubuntu-18.04' if: matrix.platform == 'ubuntu-20.04'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y ninja-build sudo apt-get install -y ninja-build
@ -117,7 +117,7 @@ jobs:
./libs/deploy_windows64.sh ./libs/deploy_windows64.sh
- name: Linux - ${{ matrix.qt_version }} - Generate MakeFile and Build - name: Linux - ${{ matrix.qt_version }} - Generate MakeFile and Build
shell: bash shell: bash
if: matrix.platform == 'ubuntu-18.04' if: matrix.platform == 'ubuntu-20.04'
run: | run: |
mkdir build mkdir build
cd build cd build
@ -152,7 +152,7 @@ jobs:
- name: Donwload Artifacts - name: Donwload Artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
name: NekoRay-${{ github.sha }}-ubuntu-18.04-x64 name: NekoRay-${{ github.sha }}-ubuntu-20.04-x64
path: artifacts-linux path: artifacts-linux
- name: Donwload Artifacts - name: Donwload Artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2