Update CMakeLists.txt #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
pull_request: | |
schedule: | |
#Every 50 days at midnight | |
- cron: "0 0 1/600 * *" | |
jobs: | |
compilejobFedora35: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
name: CI_on_Fedora35 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Compile | |
id: compileindocker | |
uses: ./.github/workflows/fedora35 | |
- name: Get the output status | |
run: exit ${{ steps.compileindocker.outputs.out }} | |
compilejobRocky9_ARM: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
name: Rocky9aarch64_ARM | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: QEMU | |
run: | | |
set -x | |
sudo apt update | |
sudo apt install --yes binfmt-support qemu-user-static wget | |
- name: Compile_with_arm | |
continue-on-error: true | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: arm64v8/rockylinux:9 | |
options: -v ${{ github.workspace }}:/work --platform=linux/arm64/v8 | |
run: | | |
set -e | |
set -x | |
dnf -y install gcc gcc-c++ gcc-gfortran make which cmake cmake-data cmake-filesystem | |
cd work | |
pwd | |
ls | |
cmake -S . -B BUILD -DCMAKE_INSTALL_PREFIX=$(pwd)/INSTALL | |
cmake --build BUILD | |
cmake --install BUILD |