mirror of
https://github.com/mon/ifs_layeredfs.git
synced 2026-03-21 17:34:09 -05:00
Let's try adding github actions
This commit is contained in:
parent
24d53f37f3
commit
7542c02444
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: docker
|
||||
load: true
|
||||
tags: layeredfs/deps
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Build
|
||||
run: docker run --rm -v "$PWD:/work" layeredfs/deps bash build.sh
|
||||
|
||||
- name: Test
|
||||
run: docker run --rm -v "$PWD:/work" layeredfs/deps bash test.sh
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
|
|
@ -4,7 +4,7 @@ RUN set -eux; \
|
|||
dpkg --add-architecture i386; \
|
||||
apt-get update -qq; \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get install -qqy --no-install-recommends \
|
||||
meson jq wine wine32; \
|
||||
meson jq python3-pefile python3-requests wine wine32 wine64; \
|
||||
apt-get clean -y; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user