compile xfrpc in ubuntu-latest #338
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: compile xfrpc in ubuntu-latest | |
on: | |
# Only manual trigger from Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare build environment | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libjson-c-dev libevent-dev libssl-dev gcc-14 g++-14 | |
- name: compile xfrpc | |
env: | |
CC: gcc-14 | |
CXX: g++-14 | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make |