Skip to content

Commit

Permalink
Build for aarch64
Browse files Browse the repository at this point in the history
Closes #46
  • Loading branch information
R1tschY committed Jun 4, 2021
1 parent 7211d69 commit 4fd086c
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 5 deletions.
54 changes: 49 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
RELEASE: 3.3.0.14

jobs:
build:
build-armv7hl:
runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +23,7 @@ jobs:
- uses: actions/cache@v2
with:
path: .venv-conan-*
key: venv-cache3
key: venv-cache4-armv7hl

- name: Check style
run: python3 scripts/bad-style.py bad-style.xml
Expand All @@ -35,7 +35,25 @@ jobs:
release: '3.3.0.16'
fix-version: false
enable-debug: true
#check: true

- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: sailfishconnect-armv7hl
path: RPMS

build-i486:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- uses: actions/cache@v2
with:
path: .venv-conan-*
key: venv-cache4-i486

- name: Build i486 RPMS
uses: R1tschY/sailfish-sdk-action@v1
Expand All @@ -44,10 +62,36 @@ jobs:
release: '3.3.0.16'
fix-version: false
enable-debug: true
#check: true

- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: sailfishconnect-rpms
name: sailfishconnect-i486
path: RPMS

build-aarch64:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- uses: actions/cache@v2
with:
path: .venv-conan-*
key: venv-cache4-aarch64

- name: Build aarch64 RPMS
uses: R1tschY/sailfish-sdk-action@v1
with:
arch: 'aarch64'
release: '4.0.1.48'
fix-version: false
enable-debug: true

- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: sailfishconnect-aarch64
path: RPMS
9 changes: 9 additions & 0 deletions dev/profiles/aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[settings]
os=Linux
os_build=Linux
arch=aarch64
arch_build=aarch64
compiler=gcc
compiler.version=8.3
compiler.libcxx=libstdc++
build_type=Release

0 comments on commit 4fd086c

Please sign in to comment.