Set fixed container versions
To avoid redownloading every second time the pipeline runs
This commit is contained in:
parent
c032a92fa4
commit
711af6bdf2
@ -5,16 +5,16 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: hello world
|
- name: hello world
|
||||||
image: alpine
|
image: alpine:3.16.2
|
||||||
commands:
|
commands:
|
||||||
- echo hello
|
- echo hello
|
||||||
- echo world
|
- echo world
|
||||||
- name: python
|
- name: python
|
||||||
image: python
|
image: python:3.11-rc-alpine
|
||||||
commands:
|
commands:
|
||||||
- python3 -c "print(6 * 7)"
|
- python3 -c "print(6 * 7)"
|
||||||
- name: algo2
|
- name: algo2
|
||||||
image: gcc
|
image: gcc:12.2.0
|
||||||
commands:
|
commands:
|
||||||
- cd algo2
|
- cd algo2
|
||||||
- gcc -o pairingheap pairingheap.c
|
- gcc -o pairingheap pairingheap.c
|
||||||
|
@ -166,7 +166,7 @@ int main() {
|
|||||||
struct PHeap ph;
|
struct PHeap ph;
|
||||||
ph_init(&ph);
|
ph_init(&ph);
|
||||||
|
|
||||||
for (int i = 0; i < 20; i++) {
|
for (int i = 0; i < 15; i++) {
|
||||||
ph_insert_malloc(&ph, rand() % 100);
|
ph_insert_malloc(&ph, rand() % 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user