Skip to content

Commit a242a20

Browse files
[tests] change github runner to self-hosted (#80)
1 parent 0cfaae5 commit a242a20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/meson-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
#
5050
ubuntu-latest:
5151
name: Build and Test on Ubuntu Latest
52-
runs-on: ubuntu-latest
52+
runs-on: self-hosted
5353
services:
5454
mongodb:
5555
image: mongo
@@ -58,14 +58,15 @@ jobs:
5858
steps:
5959
- name: Create the TUN device with the interface name `ogstun`.
6060
run: |
61+
sudo ip tuntap del ogstun mode tun
6162
sudo ip tuntap add name ogstun mode tun
6263
sudo ip addr add 10.45.0.1/16 dev ogstun
6364
sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
6465
sudo ip link set ogstun up
6566
- name: Install the dependencies for building the source code.
6667
run: |
6768
sudo apt update
68-
sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson
69+
sudo apt install -y python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson
6970
- name: Check out repository code
7071
uses: actions/checkout@main
7172
- name: Setup Meson Build

0 commit comments

Comments
 (0)