-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (37 loc) · 1.29 KB
/
ARMV7cpp.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
name: ARMv7
on:
workflow_call:
jobs:
CppARMV7:
# The host should always be Linux
runs-on: ubuntu-latest
name: openGPMP on ARMv7
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: runcmd
with:
arch: armv7
distro: ubuntu_latest
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
# Set an output parameter `uname` for use in subsequent steps
run: |
uname -a
echo ::set-output name=uname::$(uname -a)
- name: initalize github repo
uses: actions/checkout@v3
- name: Configure CMake
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Test openGPMP install on ubuntu ARMv7
run: |
#cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
cd build && sudo make
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"
- name: Get the output
# Echo the `uname` output parameter from the `runcmd` step
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"