chore(ci): update to [email protected] #28
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: Alpine Musl - arm64 - build from dockerhub builder | |
# Broken on GitHub Actions with QEMU | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main, alpine ] | |
# pull_request: | |
# branches: [ main ] | |
env: | |
PKG_DATE: 20241228 | |
jobs: | |
make-alpine-arm64: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby-version: [3.1.6, 3.2.6, 3.3.6, 3.4.1] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Set up Ruby" | |
uses: ruby/[email protected] | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: package | |
run: | | |
docker run --privileged --rm tonistiigi/binfmt --install all | |
cd alpine | |
rake | |
ls | |
env: | |
ARCHITECTURES: "arm64" | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} | |
- name: package gems | |
run: ./scripts/package-gems.sh | |
env: | |
PLATFORM: alpine | |
- name: 'Upload Artifact - linux arm64' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: traveling-ruby-${{ env.PKG_DATE }}-${{ matrix.ruby-version }}-linux-musl-arm64.tar.gz | |
path: alpine/traveling-ruby*.tar.gz | |
- name: test | |
run: | | |
cd alpine | |
rake test_docker | |
env: | |
ARCHITECTURES: "arm64" | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} |