diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml new file mode 100644 index 0000000..aaa436c --- /dev/null +++ b/.github/workflows/latest.yml @@ -0,0 +1,24 @@ +name: CI +on: + workflow_dispatch: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: install required packages + shell: bash + run: | + sudo rm -rf /{usr/{local/{lib/{android,heroku},.ghcup,share/{dotnet,powershell,miniconda,swift}},share/{dotnet,miniconda,swift}},opt/{hostedtoolcache,microsoft},imagegeneration} + sudo docker system prune -a -f + sudo apt-get update + sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends qemu-user-static + + - run: | + git clone https://github.com/gardenlinux/gardenlinux + cd gardenlinux + ./build base-amd64 base-arm64