Skip to content

Commit db5b530

Browse files
authored
CI: build releases for Alpine (#18)
* Add CI Build for Linux * Document installation for prebuilt Linux binary * CI: create Alpine (musl) releases * CI: docker: fix tty issue * CI: docker: fix && omission * Document installation for prebuilt Alpine binary * README: use better headers for architecture clarity
1 parent fab5033 commit db5b530

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,32 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [macos-latest, windows-latest]
18+
os: [macos-latest, windows-latest, ubuntu-latest]
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: configure
2222
run: cmake .
2323
- name: build
2424
run: cmake --build . --config Release
25+
- name: build-musl
26+
if: runner.os == 'Linux'
27+
run: |
28+
rm CMakeCache.txt
29+
mv AtomicParsley AtomicParsleyLinux
30+
docker run --rm -v "$(pwd):/mnt" -w '/mnt' alpine sh -c "\
31+
apk add cmake build-base linux-headers zlib-dev && \
32+
cmake . && \
33+
cmake --build . --config Release \
34+
"
2535
- name: zip
2636
if: runner.os == 'macOS'
2737
run: zip AtomicParsleyMacOS.zip AtomicParsley
38+
- name: zip
39+
if: runner.os == 'Linux'
40+
run: |
41+
zip AtomicParsleyAlpine.zip AtomicParsley
42+
mv AtomicParsleyLinux AtomicParsley
43+
zip AtomicParsleyLinux.zip AtomicParsley
2844
- name: zip
2945
if: runner.os == 'Windows'
3046
run: 7z a -tzip AtomicParsleyWindows.zip Release/AtomicParsley.exe

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ setting metadata into MPEG-4 files, in particular, iTunes-style metadata.
1717
* Navigate to the [latest release](https://github.com/wez/atomicparsley/releases/latest)
1818
* Download the `AtomicParsleyWindows.zip` file and extract `AtomicParsley.exe`
1919

20+
### Linux (x86-64)
21+
22+
* Navigate to the [latest release](https://github.com/wez/atomicparsley/releases/latest)
23+
* Download the `AtomicParsleyLinux.zip` file and extract `AtomicParsley`
24+
25+
### Alpine Linux (x86-64 musl libc)
26+
27+
* Navigate to the [latest release](https://github.com/wez/atomicparsley/releases/latest)
28+
* Download the `AtomicParsleyAlpine.zip` file and extract `AtomicParsley`
29+
2030
### Building from Source
2131

2232
If you are building from source you will need `cmake` and `make`.

0 commit comments

Comments
 (0)