Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3362069390 |
@ -4,15 +4,12 @@ jobs:
|
|||||||
build-images:
|
build-images:
|
||||||
runs-on: host-arch-x86_64
|
runs-on: host-arch-x86_64
|
||||||
steps:
|
steps:
|
||||||
- name: Debug
|
|
||||||
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-${{gitea.sha}}: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,13 +19,4 @@ jobs:
|
|||||||
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: Run tests
|
- name: Run tests
|
||||||
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.sha}}:latest
|
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.ref_name}}: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
1
f.c
@ -26,7 +26,6 @@ void TEST_FREE(void *p)
|
|||||||
#define free TEST_FREE
|
#define free TEST_FREE
|
||||||
int f(void)
|
int f(void)
|
||||||
{
|
{
|
||||||
malloc(16);
|
|
||||||
free(malloc(16));
|
free(malloc(16));
|
||||||
free(malloc(32));
|
free(malloc(32));
|
||||||
free(malloc(48));
|
free(malloc(48));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user