This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
Request for tested improvements #224
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: ci | |
on: | |
push: | |
branches: | |
- main | |
- ci | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Build | |
run: | | |
echo ${GITHUB_TOKEN} | docker login -u ${GITHUB_ACTOR} --password-stdin docker.pkg.github.com | |
docker pull 'docker.pkg.github.com/kbeckmann/ubuntubuilder/ubuntubuilder-arm' | |
docker tag docker.pkg.github.com/kbeckmann/ubuntubuilder/ubuntubuilder-arm:latest ubuntubuilder-arm | |
docker run --rm -v $(pwd):/build -w /build ubuntubuilder-arm sudo -E ./scripts/.ci_build_ubuntu.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
build-linuxemu-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Build | |
run: | | |
echo ${GITHUB_TOKEN} | docker login -u ${GITHUB_ACTOR} --password-stdin docker.pkg.github.com | |
docker pull 'docker.pkg.github.com/kbeckmann/ubuntubuilder/ubuntubuilder' | |
docker tag docker.pkg.github.com/kbeckmann/ubuntubuilder/ubuntubuilder:latest ubuntubuilder | |
docker run --rm -v $(pwd):/build -w /build ubuntubuilder sudo -E ./scripts/.ci_build_linuxemu_ubuntu.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Disable macos for the time being. The github action has issues downloading large files for some reason. | |
# build-macos: | |
# runs-on: macos-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# submodules: true | |
# - name: Build | |
# run: ./scripts/.ci_build_macos.sh | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Build | |
run: docker build -f Dockerfile --tag kbeckmann/retro-go-builder . |