hasslesstech 7c41e9ab2b
Some checks failed
/ build-images (push) Failing after 2s
/ run-tests (push) Has been skipped
1
2026-03-18 17:47:24 +02:00

24 lines
705 B
YAML

on: [push]
jobs:
build-images:
runs-on: host-arch-x86_64
steps:
- name: Clone repository
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
- name: Build GCC container
run: docker build -t local/alpine-gcc:latest -f Dockerfile
run-tests:
runs-on: host-arch-x86_64
needs: build-images
#container: local/alpine-gcc:latest
steps:
- name: Clone repository
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
- name: Run tests
working-directory: test5
run: docker run -it --rm -v test5:/app local/alpine-gcc:latest