new issue #1

Merged
hasslesstech merged 8 commits from dev into master 2026-03-18 18:24:24 +02:00
2 changed files with 7 additions and 3 deletions

View File

@ -1,15 +1,18 @@
on: [push] on: [push, workflow_dispatch]
jobs: jobs:
build-images: build-images:
runs-on: host-arch-x86_64 runs-on: host-arch-x86_64
steps: steps:
- name: Debug print
run: echo '${{ toJson(gitea) }}'
- name: Clone repository - name: Clone repository
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }} run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
- name: Build GCC container - name: Build GCC container
working-directory: test5 working-directory: test5
run: docker build . -f Dockerfile -t local/alpine-gcc:latest run: docker build . -f Dockerfile -t local/alpine-gcc-${{gitea.ref_name}}:latest
run-tests: run-tests:
runs-on: host-arch-x86_64 runs-on: host-arch-x86_64
@ -22,4 +25,4 @@ jobs:
- run: ls -lh test5 - run: ls -lh test5
- name: Run tests - name: Run tests
run: docker run -it --rm -v ./test5:/app local/alpine-gcc:latest run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.ref_name}}:latest

1
f.c
View File

@ -32,6 +32,7 @@ int f(void)
free(malloc(64)); free(malloc(64));
free(malloc(96)); free(malloc(96));
free(malloc(128)); free(malloc(128));
free(malloc(256));
return 1; return 1;
} }