-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect port config in settings, add initial GH Actions workflow
- Loading branch information
1 parent
6a56ef0
commit 1f5d0d3
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Test workflow | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Install deps | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt update && sudo apt upgrade -y | ||
sudo apt install -y libuuid-dev libasio-dev libpq-dev postgresql | ||
python3 -m pip install cmake --break-system-packages | ||
- name: Print environment | ||
run: | | ||
cmake --version | ||
- name: Run build | ||
run: | | ||
mkdir build && cd build | ||
cmake .. -DCMAKE_BUILD_TYPE=Release | ||
make -j $(nproc) | ||
#- name: Run test | ||
#run: | | ||
#cd build | ||
#cmake --build . --target test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,7 @@ void HazelCore::run(bool test) { | |
#ifdef HAZEL_DEBUG | ||
1337 | ||
#else | ||
6906 | ||
conf.server.port | ||
#endif | ||
); | ||
|
||
|