Skip to content

Commit ef0b96f

Browse files
committed
ci: add dependency installation to all CI workflows
1 parent d7bc27f commit ef0b96f

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/macos.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
- name: Checkout Repository
4040
uses: actions/checkout@v4
4141

42+
# Step: Install Dependencies
43+
- name: Install Dependencies
44+
run: |
45+
brew update
46+
brew install lua sqlite3 zlib
47+
4248
# Step: Configure Project.
4349
- name: Configure Project
4450
run: |

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
uses: actions/checkout@v4
6363

6464
# Step: Install the required compiler and dependencies.
65-
- name: Install Compiler Dependencies
65+
- name: Install Dependencies
6666
run: |
6767
sudo apt-get update
68-
sudo apt-get install -y ${{ matrix.pkgs }}
68+
sudo apt-get install -y ${{ matrix.pkgs }} lua5.4 liblua5.4-dev libsqlite3-dev zlib1g-dev
6969
7070
# Step: Configure the project using CMake.
7171
- name: Configure Project

.github/workflows/windows.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,19 @@ jobs:
3939
- name: Checkout Repository
4040
uses: actions/checkout@v4
4141

42+
# Step: Setup vcpkg
43+
- name: Setup vcpkg
44+
uses: lukka/run-vcpkg@v11
45+
46+
# Step: Install Dependencies
47+
- name: Install Dependencies
48+
run: |
49+
vcpkg install lua sqlite3 zlib
50+
4251
# Step: Configure Project.
4352
- name: Configure Project
4453
run: |
45-
cmake -B build -DWARNINGS_AS_ERRORS=ON -DSTRICT_WARNINGS=ON
54+
cmake -B build -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DWARNINGS_AS_ERRORS=ON -DSTRICT_WARNINGS=ON
4655
4756
# Step: Build Project.
4857
- name: Build Project

0 commit comments

Comments
 (0)