Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# .github/workflows/ci.yml
name: CI
on:
# Running CI on all commits on all branches (implicitly covers pull request too)
push:
branches:
- "**"
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

jobs:
earthly:
runs-on: ubuntu-22.04
Expand All @@ -15,10 +17,10 @@ jobs:
env:
FORCE_COLOR: 1
steps:
- uses: earthly/actions/setup-earthly@v1
- uses: earthly/actions-setup@v1
with:
version: v0.7.20
- uses: actions/checkout@v3
version: "0.8.15"
- uses: actions/checkout@v4
- name: Put back the git branch into git (Earthly uses it for tagging)
run: |
branch=""
Expand All @@ -33,7 +35,7 @@ jobs:
linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Build dependencies
Expand All @@ -47,7 +49,7 @@ jobs:
linux-386:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install gcc multi lib
Expand All @@ -65,7 +67,7 @@ jobs:
linux-arm64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install ARM Tools
Expand All @@ -83,7 +85,7 @@ jobs:
linux-arm:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install ARM Tools
Expand All @@ -101,7 +103,7 @@ jobs:
linux-arm-no-pqc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install ARM Tools
Expand All @@ -119,7 +121,7 @@ jobs:
linux-riscv64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install RISC-V Toolchain
Expand All @@ -137,7 +139,7 @@ jobs:
macos:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install automake
Expand All @@ -149,15 +151,15 @@ jobs:
macos_arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install automake
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool
- name: Build dependencies
run: ceedling project:macos_arm64 verbosity[4] clobber dependencies:make
- name: Run build
run: ceedling project:macos_arm64 verbosity[4] release
- name: Run build and test
run: ceedling project:macos_arm64 verbosity[4] test:all
windows:
runs-on: windows-2022
strategy:
Expand All @@ -169,7 +171,7 @@ jobs:
{ project: windows_32, arch: x86 },
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: gem install ceedling --no-user-install
- name: Check Ceedling version
Expand All @@ -185,7 +187,7 @@ jobs:
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install automake
Expand All @@ -199,11 +201,9 @@ jobs:
cd ios/Lightway
./build-xcframework.sh
tvos:
env:
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Install automake
Expand All @@ -217,7 +217,7 @@ jobs:
matrix:
arch: [armeabi-v7a, arm64-v8a, x86, x86_64]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ceedling
run: sudo gem install ceedling --no-user-install
- name: Run build
Expand Down
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION 0.7
VERSION 0.8
ARG distro=bullseye
FROM --platform=linux/amd64 debian:$distro-slim
WORKDIR /libhelium
Expand Down
Loading