-
-
Notifications
You must be signed in to change notification settings - Fork 410
42 lines (33 loc) · 952 Bytes
/
Copy pathtest_set_2.yml
File metadata and controls
42 lines (33 loc) · 952 Bytes
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
#
# Copyright (C) 2022-2026 Lin Song <linsongui@gmail.com>
name: test_set_2
on: workflow_call
permissions:
contents: read
jobs:
test_set_2:
runs-on: ubuntu-24.04
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
os_version: ["debian:13", "debian:12", "debian:11"]
fail-fast: false
container:
image: ${{ matrix.os_version }}
options: --cap-add=NET_ADMIN
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Test
run: |
set -ex
mkdir -p /opt/src
cd /opt/src
ls -ld "$GITHUB_WORKSPACE/wireguard-install.sh"
export DEBIAN_FRONTEND=noninteractive
apt-get -yqq update
apt-get -yqq install wget kmod procps net-tools
cp -f "$GITHUB_WORKSPACE"/wireguard-install.sh ./wireguard.sh
bash wireguard.sh --auto
ls -ld ~/client.conf