Build it on focal (#24)

* Build it on bionic

* no sudo

* cmake

* don't use ninja

* try focal

* model after #15

* Whoops

* lower minimum CMakeLists

* focal

* Fix

* debug yaml

* whut

* now?
This commit is contained in:
Ethan Roseman 2022-09-25 01:04:29 +09:00 committed by GitHub
parent 6de4e9a163
commit d631bad6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -4,17 +4,22 @@ jobs:
build_and_test: build_and_test:
name: Build and test name: Build and test
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ubuntu:focal
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install GCC multilib - name: Install GCC multilib
run: | run: |
sudo apt-get update apt-get update
sudo apt-get install -y gcc-multilib g++-multilib ninja-build apt-get install -y cmake file gcc-multilib g++-multilib unzip wget
- name: Configure - name: Configure
# Replace with RelWithDebInfo when -O2 crash is fixed # Replace with RelWithDebInfo when -O2 crash is fixed
run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
- name: Build - name: Build
run: cmake --build build run: cmake --build build