Skip to content

Commit

Permalink
workflows/cmake.yml:test on Ubuntu Jammy (22.04);migrate to checkoutv3
Browse files Browse the repository at this point in the history
This should also fix MegaGlest#247
  • Loading branch information
andy5995 committed Aug 17, 2022
1 parent e63d814 commit 323dd9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ jobs:
fail-fast: false
matrix:
arch: [x64]
os: [ubuntu-18.04, ubuntu-latest]
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
compiler: [gcc, clang]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Get dependencies
run: |
sudo apt update
sudo mk/linux/setupBuildDeps.sh
- name: Bulid MegaGlest With GCC Compiler
- name: Build MegaGlest With GCC Compiler
if: ${{ matrix.compiler == 'gcc' }}
env:
CC: gcc
CXX: g++
run: mk/linux/build-mg.sh

- name: Bulid MegaGlest With Clang Compiler
- name: Build MegaGlest With Clang Compiler
if: ${{ matrix.compiler == 'clang' }}
env:
CC: clang
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache Vcpkg Libs
uses: actions/cache@v2
Expand Down

0 comments on commit 323dd9b

Please sign in to comment.