Compare commits
25 Commits
b6618363bf
...
gitea-act
Author | SHA1 | Date | |
---|---|---|---|
bce1311cc7 | |||
8fc23b9303 | |||
c2871bc354 | |||
5781fcd69a | |||
e47d1cd5bf | |||
deb1ab5935 | |||
f5584cf67b | |||
eacaffaafb | |||
970bcdc313 | |||
cbf036ad8f | |||
8bc0f86281 | |||
960226d56a | |||
732e05feb6 | |||
c5bc15ddfc | |||
b08739149a | |||
e3dfa85fd0 | |||
15a7502b3f | |||
311d7ca995 | |||
81e2378f85 | |||
bae0af4c24 | |||
79455649a6 | |||
69ad6e06e7 | |||
a1bc2944e2 | |||
87c01e31c7 | |||
bd694e3dc9 |
20
.drone.yml
20
.drone.yml
@@ -1,20 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: Compile
|
||||
commands:
|
||||
- make
|
||||
|
||||
- name: Versie toevoegen aan download
|
||||
environment:
|
||||
DOWNLOADDIR: /usr/share/nginx/html/download/bin/x86_64-f32/
|
||||
commands:
|
||||
- mkdir -p "$${DOWNLOADDIR}"
|
||||
- cp wait "$${DOWNLOADDIR}"
|
@@ -1,18 +0,0 @@
|
||||
---
|
||||
name: compile
|
||||
|
||||
jobs:
|
||||
Debian-11-compile:
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Compile
|
||||
run: make
|
||||
#
|
||||
# TODO: Upload (drone code)
|
||||
#
|
||||
# environment:
|
||||
# DOWNLOADDIR: /usr/share/nginx/html/download/bin/x86_64-f32/
|
||||
# commands:
|
||||
# - mkdir -p "$${DOWNLOADDIR}"
|
||||
# - cp wait "$${DOWNLOADDIR}"
|
54
.gitea/workflows/compile.yml
Normal file
54
.gitea/workflows/compile.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
---
|
||||
name: compile
|
||||
on:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
rockylinux-9-compile:
|
||||
runs-on: rockylinux9
|
||||
steps:
|
||||
- name: Aanpassen lokale yum repo
|
||||
run: "sed -i -e 's@^mirrorlist=@#mirrorlist=@' -e 's@#baseurl=\
|
||||
http://dl.rockylinux.org/$contentdir@baseurl=\
|
||||
https://marceln.org/os/Linux/distr/rocky@' \
|
||||
/etc/yum.repos.d/*repo"
|
||||
- name: Install dependecies
|
||||
run: dnf install -y nodejs gcc make git-core
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Compile
|
||||
run: make
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: x86_64-rockylinux-9-wait
|
||||
path: wait
|
||||
Fedora-40-compile:
|
||||
runs-on: fedora-40
|
||||
steps:
|
||||
- name: Aanpassen lokale yum repo
|
||||
run: "/usr/bin/sed -i -e 's@#baseurl=\
|
||||
http://download.example/pub@baseurl=\
|
||||
https://marceln.org/@' -e 's/metalink=/#metalink=/' \
|
||||
$(grep -l '#baseurl=http://download.example/pub' \
|
||||
/etc/yum.repos.d/*)"
|
||||
- name: Install dependecies
|
||||
run: dnf install -y nodejs gcc make git-core
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Compile
|
||||
run: make
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: x86_64-fedora-40-wait
|
||||
path: wait
|
||||
Ubuntu-bullseye-compile:
|
||||
runs-on: node-ubuntu-bullseye
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Compile
|
||||
run: make
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: x86_64-ubuntu-bulseye-wait
|
||||
path: wait
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
wait
|
||||
*.swp
|
4
githooks/pre-commit
Executable file
4
githooks/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
yamllint .gitea/workflows/compile.yml
|
||||
make
|
Reference in New Issue
Block a user