-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/workflows/linux_arm64.yml: add linux arm64 build
- Loading branch information
1 parent
235f6ef
commit e4eb959
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Build (Linux, ARM64) | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'CMakeLists.txt' | ||
- 'gcc_source/*' | ||
- '.github/workflows/linux_arm64.yml' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-24.04-arm | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup Ninja | ||
run: pip3 install ninja | ||
|
||
- name: Download VapourSynth headers | ||
run: | | ||
wget -q -O vs.zip https://github.com/vapoursynth/vapoursynth/archive/refs/tags/R57.zip | ||
unzip -q vs.zip | ||
mv vapoursynth*/ vapoursynth | ||
- name: Configure | ||
run: cmake -S . -B build -G Ninja | ||
-D VS_INCLUDE_DIR="`pwd`/vapoursynth/include" | ||
-D ENABLE_CUDA=OFF | ||
-D ENABLE_CPU=OFF | ||
-D ENABLE_GCC=ON | ||
-D CMAKE_BUILD_TYPE=Release | ||
-D CMAKE_CXX_COMPILER=clang++ | ||
-D CMAKE_CXX_FLAGS="-Wall -ffast-math" | ||
|
||
- name: Build | ||
run: cmake --build build --config Release --verbose | ||
|
||
- name: Install | ||
run: cmake --install build --prefix artifact | ||
|
||
- name: Upload | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: vs-dfttest2-Linux | ||
path: artifact |