Skip to content

Commit

Permalink
Changed runners to self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
bautisflow committed Jun 13, 2024
1 parent d7a8bf7 commit a0dad62
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ env:
jobs:

build_version:
runs-on: ubuntu-latest
#runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

outputs:
version: ${{ steps.version.outputs.version }}
Expand All @@ -33,7 +34,8 @@ jobs:
fi
build:
runs-on: ubuntu-latest
#runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]
needs: build_version
strategy:
fail-fast: false # continues with matrix even if an element fails
Expand Down Expand Up @@ -70,7 +72,8 @@ jobs:

upload_to_release: # when tag is created
if: ${{ github.event_name == 'release' }}
runs-on: ubuntu-latest
#runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]
needs: [build_version, build]
strategy:
fail-fast: false # continues with matrix even if an element fails
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

steps:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:

build:
name: Build
runs-on: ubuntu-22.04
#runs-on: ubuntu-22.04
runs-on: [self-hosted, Linux, X64]
env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.

- Concern separation for metrics retrieval
- Updated to thinger-iotmp 1.2.2
- Cmd resource now based on thinger-iotmp

### Fix

Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_OPENSSL=ON -DBUILD_VERSION=0.0.7 ../
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_OPENSSL=ON -DSTATIC=ON -DOPENSSL_ROOT_DIR=/usr/lib/ssl -DOPENSSL_LIBRARIES=/usr/lib/ssl ../
make -j$((`grep -c ^processor /proc/cpuinfo`+1)) thinger_monitor
#./test
#make thinger_monitor
Expand Down

0 comments on commit a0dad62

Please sign in to comment.