Skip to content

Commit 0fcbeee

Browse files
committed
move move
1 parent 8971b11 commit 0fcbeee

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/integration.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Run integration tests
2+
on:
3+
push:
4+
branches-ignore:
5+
- main
6+
- '[0-9]+.[0-9]+'
7+
- gh-readonly-queue/main/*
8+
- gh-readonly-queue/main/[0-9]+.[0-9]+
9+
pull_request:
10+
branches:
11+
- main
12+
- '[0-9]+.[0-9]+'
13+
14+
jobs:
15+
runpipe:
16+
runs-on: ubuntu-24.04
17+
container:
18+
image: domjudge/gitlabci:24.04
19+
options: --privileged --cgroupns=host
20+
services:
21+
sqlserver:
22+
image: mariadb
23+
ports:
24+
- 3306:3306
25+
env:
26+
MYSQL_ROOT_PASSWORD: root
27+
MYSQL_USER: domjudge
28+
MYSQL_PASSWORD: domjudge
29+
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
30+
steps:
31+
- uses: actions/checkout@v4
32+
- name: info
33+
run: cat /proc/cmdline && echo && cat /proc/mounts && echo && ls -al /sys/fs/cgroup && echo && uname -a && echo && stat -fc %T /sys/fs/cgroup && echo && cat /proc/self/cgroup
34+
- name: Run composer
35+
working-directory: webapp
36+
run: composer install --no-scripts
37+
- name: Create the configure file
38+
run: make configure
39+
- name: Do the default configure
40+
run: ./configure --with-baseurl='http://localhost/domjudge/' --with-domjudge-user=domjudge --with-judgehost_chrootdir=${DIR}/chroot/domjudge
41+
- name: Build everything
42+
run: make build-scripts domserver judgehost docs
43+
- name: Install everything
44+
run: sudo make install-domserver install-judgehost install-docs
45+
- name: Set up chroot
46+
run: sudo misc-tools/dj_make_chroot -a amd64

0 commit comments

Comments
 (0)