Skip to content

Commit

Permalink
First attempt at msys2-clangarm64
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Jan 10, 2025
1 parent 3ee0afb commit 171fac2
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,3 +319,63 @@ jobs:
ccache --show-stats --verbose
env:
CCACHE_MAXSIZE: 500MB
msys2:
name: msys2-clangarm64
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
env:
CCACHE_MAXSIZE: 0
CCACHE_NOCOMPRESS: 1
steps:
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Cache msys2 dependencies
id: cache-deps
uses: actions/cache@v3
with:
key: msys2-clangarm64-${{ hashFiles('msys2-clangarm64.txt') }}
restore-keys: |
msys2-clangarm64-
path: \msys64\var\cache\pacman\pkg
- name: Install msys2
uses: msys2/setup-msys2@v2
with:

Check failure on line 347 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / yamllint

347:15 syntax error: mapping values are not allowed here (syntax)
msystem: CLANGARM64
update: true
- name: Install dependencies
run: pacman --needed --noconfirm -S - < msys2-clangarm64.txt
- name: Cache ccache data
uses: actions/cache@v3
with:
key: ccache-${{ github.job }}-${{ github.ref }}-${{ github.run_id }}
restore-keys: |
ccache-${{ github.job }}-${{ github.ref }}-
ccache-${{ github.job }}-
path: ~\AppData\Local\ccache
- name: Configure
run: |
ccache --zero-stats
cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_COMPILE_CACHE=ON
- name: Build
run: cmake --build build
- name: Package
run: cmake --build build --target package
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: msys2-clangarm64
path: build\lmms-*.exe
- name: Trim ccache and print statistics
run: |
ccache --cleanup
echo "[ccache config]"
ccache --show-config
echo "[ccache stats]"
ccache --show-stats --verbose
env:
CCACHE_MAXSIZE: 500MB

0 comments on commit 171fac2

Please sign in to comment.