-
Notifications
You must be signed in to change notification settings - Fork 7
52 lines (48 loc) · 1.37 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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