Try buidling in Woodpecker CI in matrix

This commit is contained in:
2024-05-24 16:45:13 +02:00
parent 42511439ce
commit 383dd1b82d
7 changed files with 25 additions and 78 deletions

1
scripts/build_test.sh Executable file
View File

@ -0,0 +1 @@
echo 1

4
scripts/build_upstream.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
export CUSTOM_TAG="v$OPENVPN_VERSION"
export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION"
build-container

6
scripts/build_xor.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
git clone https://github.com/Tunnelblick/Tunnelblick.git /tmp/tunnelblick
export OPENVPN_VERSION=$(ls /tmp/tunnelblick/third_party/sources/openvpn | sed 's/openvpn-//g' | sort -k1,1nr -k2,2n -k3,3n | head -n 1)
export CUSTOM_TAG="v$OPENVPN_VERSION-XOR-$TUNNELBLICK_VERSION"
export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION --build-arg TUNNELBLICK_VERSION=$TUNNELBLICK_VERSION"
build-container