Skip to content

Commit 73b77c8

Browse files
authored
Update to follow bora infrastructure
1 parent d65847d commit 73b77c8

1 file changed

Lines changed: 26 additions & 4 deletions

File tree

.github/workflows/cmakebuild.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build on latest
1+
name: Build on push
22

33
on:
44
push:
@@ -11,10 +11,17 @@ jobs:
1111
- name: Checkout Project
1212
uses: actions/checkout@v4.2.2
1313

14+
- name: Create Bora Structure
15+
run: |
16+
mkdir -p bora/runtime
17+
mv * .[^.]* bora/runtime/ || true
18+
cd bora
19+
git clone https://github.com/boradevelopment/bora-global.git global
20+
1421
- name: Build with CMake
1522
uses: threeal/cmake-action@v2.1.0
1623
with:
17-
source-dir: ./
24+
source-dir: ./runtime
1825
build-dir: build/linux
1926

2027
build-windows:
@@ -24,10 +31,18 @@ jobs:
2431
- name: Checkout Project
2532
uses: actions/checkout@v4.2.2
2633

34+
- name: Create Bora Structure
35+
shell: bash
36+
run: |
37+
mkdir -p bora/runtime
38+
mv * .[^.]* bora/runtime/ || true
39+
cd bora
40+
git clone https://github.com/boradevelopment/bora-global.git global
41+
2742
- name: Build with CMake
2843
uses: threeal/cmake-action@v2.1.0
2944
with:
30-
source-dir: ./
45+
source-dir: ./runtime
3146
build-dir: build/win32
3247

3348
build-macos:
@@ -37,8 +52,15 @@ jobs:
3752
- name: Checkout Project
3853
uses: actions/checkout@v4.2.2
3954

55+
- name: Create Bora Structure
56+
run: |
57+
mkdir -p bora/runtime
58+
mv * .[^.]* bora/runtime/ || true
59+
cd bora
60+
git clone https://github.com/boradevelopment/bora-global.git global
61+
4062
- name: Build with CMake
4163
uses: threeal/cmake-action@v2.1.0
4264
with:
43-
source-dir: ./
65+
source-dir: ./runtime
4466
build-dir: build/darwin

0 commit comments

Comments
 (0)