Compare commits

...

8 Commits
dev ... master

Author SHA1 Message Date
ce0dbdfe7c fix 1
Some checks failed
/ build-images (push) Successful in 5s
/ run-tests (push) Failing after 6s
/ cleanup (push) Successful in -1s
2026-03-18 20:24:37 +02:00
d8ae8cd017 introduce a bug
Some checks failed
/ build-images (push) Successful in 7s
/ run-tests (push) Failing after 8s
/ cleanup (push) Has been skipped
2026-03-18 20:23:40 +02:00
65c6d44a6c add more levels
All checks were successful
/ build-images (push) Successful in 6s
/ run-tests (push) Successful in 7s
/ cleanup (push) Successful in -1s
2026-03-18 20:18:14 +02:00
ffa906d9cc 1
All checks were successful
/ build-images (push) Successful in 9s
/ run-tests (push) Successful in 7s
/ cleanup (push) Successful in -1s
2026-03-18 20:13:54 +02:00
a42650be38 1
Some checks failed
/ build-images (push) Successful in 9s
/ run-tests (push) Has been cancelled
/ cleanup (push) Has been cancelled
2026-03-18 20:13:14 +02:00
1b0663fa73 1
All checks were successful
/ build-images (push) Successful in 6s
/ run-tests (push) Successful in 7s
/ build-images (pull_request) Successful in 5s
/ run-tests (pull_request) Successful in 7s
2026-03-18 20:04:44 +02:00
57482921b7 1
All checks were successful
/ build-images (pull_request) Successful in 8s
/ run-tests (pull_request) Successful in 5s
/ build-images (push) Successful in 8s
/ run-tests (push) Successful in 5s
2026-03-18 19:57:35 +02:00
c68f37f00f 1
All checks were successful
/ build-images (push) Successful in 5s
/ run-tests (push) Successful in 6s
2026-03-18 19:56:54 +02:00
2 changed files with 15 additions and 2 deletions

View File

@ -4,12 +4,15 @@ jobs:
build-images:
runs-on: host-arch-x86_64
steps:
- name: Debug
run: echo '${{toJson(gitea)}}'
- name: Clone repository
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
- name: Build GCC container
working-directory: test5
run: docker build . -f Dockerfile -t local/alpine-gcc-${{gitea.ref_name}}:latest
run: docker build . -f Dockerfile -t local/alpine-gcc-${{gitea.sha}}:latest
run-tests:
runs-on: host-arch-x86_64
@ -19,4 +22,13 @@ jobs:
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
- name: Run tests
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.ref_name}}:latest
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.sha}}:latest
cleanup:
runs-on: host-arch-x86_64
needs: run-tests
if: ${{ always() }}
steps:
- name: Remove built container images
#if: ${{ always() }}
run: docker image rm local/alpine-gcc-${{gitea.sha}}:latest

1
f.c
View File

@ -26,6 +26,7 @@ void TEST_FREE(void *p)
#define free TEST_FREE
int f(void)
{
malloc(16);
free(malloc(16));
free(malloc(32));
free(malloc(48));