replace mbedtls by openssl #38
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
name: Build | |
on: | |
push: | |
jobs: | |
build-windows: | |
name: Build | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
cpu_arch: [armv7, aarch64, mips, amd64] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Docker Environment | |
run: docker build -f Dockerfile -t builder . | |
- name: Cache Musl GCC | |
id: cache-musl-gcc | |
uses: actions/cache@v3 | |
with: | |
path: toolchain | |
key: ${{ runner.os }}-musl-gcc-${{ matrix.cpu_arch }} | |
- name: Build Musl GCC | |
if: steps.cache-musl-gcc.outputs.cache-hit != 'true' | |
run: docker run --user $(id -u):$(id -g) --rm -t -v $PWD:/build builder sh -c "cd /build && ./scripts/gcc-musl.sh -arch=${{ matrix.cpu_arch }} && rm -rf toolchain/musl-cross-make" | |
- name: Build aMule | |
run: docker run --user $(id -u):$(id -g) --rm -t -v $PWD:/build builder sh -c "cd /build && ./scripts/build.sh ${{ matrix.cpu_arch }}" | |
- name: Upload build artifacts | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: amule-linux-musl | |
path: | | |
amule*.tar.xz | |
log*.txt |