Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
adonis0147 committed Nov 1, 2024
1 parent 9ebc1f2 commit 959abb5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 63 deletions.
63 changes: 0 additions & 63 deletions .cirrus.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Packages on Alpine

on:
- push
- pull_request

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v4

- name: Build
run: |
curl -L "$(curl -L https://api.github.com/repos/adonis0147/devel-env/releases/latest |
sed -n 's|[[:space:]]*"browser_download_url": "\(.*\)\"|\1|p' |
grep "$(uname -m | sed 's/arm64/aarch64/')")" -o devel/scripts/install_toolchain.sh
chmod a+x devel/scripts/install_toolchain.sh
cat >>Dockerfile <<EOF
FROM alpine:latest
RUN apk add bash libc6-compat git curl
RUN mkdir /devel-env
WORKDIR /devel-env
EOF
docker run --rm --mount=type=bind,source="$(pwd)",target=/devel-env packages \
bash -c 'cd devel/scripts; bash install.sh'

0 comments on commit 959abb5

Please sign in to comment.