From 7f7d72cca984db11425bf29560ec021fe7f8224c Mon Sep 17 00:00:00 2001 From: Johannes Weidacher Date: Sat, 25 Dec 2021 22:26:43 +0100 Subject: [PATCH 1/4] Add Musl build github workflow --- .github/workflows/musl.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/musl.yml diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml new file mode 100644 index 00000000..3de074ba --- /dev/null +++ b/.github/workflows/musl.yml @@ -0,0 +1,24 @@ +name: alpine/musl + +on: + push: + +permissions: + contents: read + +jobs: + musl: + name: gcc + runs-on: ubuntu-latest + container: + image: alpine:latest + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Install dependencies + run: apk add binutils --no-cache build-base readline-dev openssl-dev ncurses-dev git cmake zlib-dev libsodium-dev gnu-libiconv + - name: Configure + run: make -j$(nproc) CC=cc V=1 TARGET=linux-musl USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 USE_OPENSSL=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_PROMEX=1 + - name: make + run: make -C build \ No newline at end of file From 529d2c232f9133a923c1bda72a9e66880456646a Mon Sep 17 00:00:00 2001 From: weidi Date: Sat, 25 Dec 2021 22:37:34 +0100 Subject: [PATCH 2/4] use checkout@v1 to make submodules work --- .github/workflows/musl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml index 3de074ba..2be25cc6 100644 --- a/.github/workflows/musl.yml +++ b/.github/workflows/musl.yml @@ -13,7 +13,7 @@ jobs: container: image: alpine:latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v1 with: submodules: true - name: Install dependencies From 1c3dc598923e138236a786b2198c78e939d1ca51 Mon Sep 17 00:00:00 2001 From: weidi Date: Sat, 25 Dec 2021 22:40:03 +0100 Subject: [PATCH 3/4] fiexed configure step --- .github/workflows/musl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml index 2be25cc6..91743eb8 100644 --- a/.github/workflows/musl.yml +++ b/.github/workflows/musl.yml @@ -19,6 +19,6 @@ jobs: - name: Install dependencies run: apk add binutils --no-cache build-base readline-dev openssl-dev ncurses-dev git cmake zlib-dev libsodium-dev gnu-libiconv - name: Configure - run: make -j$(nproc) CC=cc V=1 TARGET=linux-musl USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 USE_OPENSSL=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_PROMEX=1 + run: ./configure - name: make run: make -C build \ No newline at end of file From 3cdad95ee1795d22bdea0eaddb2e41ece6cb221f Mon Sep 17 00:00:00 2001 From: Johannes Weidacher Date: Sat, 25 Dec 2021 22:26:43 +0100 Subject: [PATCH 4/4] Add Musl build github workflow --- .github/workflows/musl.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/musl.yml diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml new file mode 100644 index 00000000..91743eb8 --- /dev/null +++ b/.github/workflows/musl.yml @@ -0,0 +1,24 @@ +name: alpine/musl + +on: + push: + +permissions: + contents: read + +jobs: + musl: + name: gcc + runs-on: ubuntu-latest + container: + image: alpine:latest + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Install dependencies + run: apk add binutils --no-cache build-base readline-dev openssl-dev ncurses-dev git cmake zlib-dev libsodium-dev gnu-libiconv + - name: Configure + run: ./configure + - name: make + run: make -C build \ No newline at end of file