-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
196 lines (196 loc) · 4.23 KB
/
.gitlab-ci.yml
File metadata and controls
196 lines (196 loc) · 4.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
assembly:
stage: test
image: debian:bookworm-slim
before_script:
- apt-get update
- apt-get install -y --no-install-recommends binutils-x86-64-linux-gnu binutils-i686-linux-gnu dosbox
- x86_64-linux-gnu-as -o olq_linux_x86-64.o olq_linux_x86-64.s
- x86_64-linux-gnu-ld -o olq_linux_x86-64 olq_linux_x86-64.o
- i686-linux-gnu-as -o olq_linux_x86.o olq_linux_x86.s
- i686-linux-gnu-ld -o olq_linux_x86 olq_linux_x86.o
- i686-linux-gnu-as -o olq_dos.o olq_dos.s
- i686-linux-gnu-ld -Ttext=0x100 -e 0x100 --oformat binary -o olq_dos.com olq_dos.o
- export SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy
script:
- ./olq_linux_x86-64 | cmp olq_linux_x86-64.s -
- ./olq_linux_x86 | cmp olq_linux_x86.s -
- printf "[autoexec]\nMOUNT C \"$PWD\"\nC:\nOLQ_DOS.COM > OLQ_DOS.LOG\nEXIT" > dosbox.conf
- dosbox
- cmp olq_dos.s OLQ_DOS.LOG
rules:
- changes:
- olq*.s
awk:
stage: test
image: busybox:1-musl
script:
- echo | awk -f olq.awk | cmp olq.awk -
rules:
- changes:
- olq.awk
c:
stage: test
image: gcc:14-bookworm
before_script:
- gcc -Wall -Wextra -Werror -ansi -pedantic -o olq olq.c
- gcc -Wall -Wextra -Werror -ansi -pedantic -o olq_ascii olq_ascii.c
- gcc -Wall -Wextra -Werror -ansi -pedantic -o olq_posix olq_posix.c
script:
- ./olq | cmp olq.c -
- ./olq_ascii | cmp olq_ascii.c -
- ./olq_posix | cmp olq_posix.c -
rules:
- changes:
- olq*.c
clojure:
stage: test
image: clojure:temurin-21-alpine
script:
- clojure -M olq.cljc | cmp olq.cljc -
rules:
- changes:
- olq.cljc
dotnet:
image: mcr.microsoft.com/dotnet/sdk:8.0-alpine
before_script:
- dotnet new console -o OlqCs
- dotnet new console --language "F#" -o OlqFs
script:
- cp olq.cs OlqCs/Program.cs
- dotnet run --project OlqCs | cmp olq.cs -
- cp olq_cs9.cs OlqCs/Program.cs
- dotnet run --project OlqCs | cmp olq_cs9.cs -
- cp olq.fs OlqFs/Program.fs
- dotnet run --project OlqFs | cmp olq.fs -
rules:
- changes:
- olq*.cs
- olq.fs
emojicode:
stage: test
image: esolang/emojicode:2.4.0
script:
- emojicode olq.emojic | cmp olq.emojic -
rules:
- changes:
- olq.emojic
forth:
stage: test
image: debian:bookworm-slim
before_script:
- apt-get update -qq
- apt-get install -y gforth
script:
- gforth olq.fth -e BYE | cmp olq.fth -
rules:
- changes:
- olq.fth
go:
stage: test
image: golang:1-alpine
script:
- go run olq.go | cmp olq.go -
rules:
- changes:
- olq.go
haskell:
stage: test
image: haskell:9-slim
script:
- runghc olq.hs | cmp olq.hs -
rules:
- changes:
- olq.hs
java:
stage: test
image: eclipse-temurin:21-jdk-alpine
before_script:
- javac olq.java
script:
- java Q | cmp olq.java -
rules:
- changes:
- olq.java
javascript:
stage: test
image: node:22-alpine
script:
- node olq.js | cmp olq.js -
- node olq_es6.js | cmp olq_es6.js -
rules:
- changes:
- olq*.js
lua:
stage: test
image: alpine:3
before_script:
- apk update
- apk add lua5.4
script:
- lua5.4 olq.lua | cmp olq.lua -
rules:
- changes:
- olq.lua
perl:
stage: test
image: perl:5-slim
script:
- perl olq.pl | cmp olq.pl -
- perl olq_ascii.pl | cmp olq_ascii.pl -
rules:
- changes:
- olq*.pl
php:
stage: test
image: php:8-cli-alpine
script:
- php olq.php | cmp olq.php -
rules:
- changes:
- olq.php
python:
stage: test
image: python:3-alpine
script:
- python olq.py | cmp olq.py -
- python olq_percent.py | cmp olq_percent.py -
rules:
- changes:
- olq*.py
rust:
stage: test
image: rust:1-alpine
before_script:
- rustc olq.rs
script:
- ./olq | cmp olq.rs -
rules:
- changes:
- olq.rs
ruby:
stage: test
image: ruby:3-alpine
script:
- ruby olq.rb | cmp olq.rb -
rules:
- changes:
- olq.rb
scheme:
stage: test
image: alpine:3
before_script:
- apk update
- apk add guile
script:
- guile olq.scm | cmp olq.scm -
rules:
- changes:
- olq.scm
shell:
stage: test
image: busybox:1-musl
script:
- sh olq.sh | cmp olq.sh -
rules:
- changes:
- olq.sh