Skip to content

Commit 3cd112d

Browse files
committed
Fixed issue with 'asm' directory, enabled other workflows.
1 parent 77398c6 commit 3cd112d

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.github/workflows/cmake-linux-cc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575
working-directory: ${{github.workspace}}
7676
run: cmake --build ./product/cache/gnu-aarch64-so -j20
7777

78+
- name: Linux - Fix 'asm' directory issue, create sym-link if does not exist.
79+
if: ${{ hashFiles('/usr/include/asm/') == '' && hashFiles('/usr/include/asm-generic/') != ''}}
80+
run: sudo ln -s /usr/include/asm-generic/ /usr/include/asm
81+
7882
- name: Linux - Cross-compile configure, gnu-linux-arm32.cmake
7983
working-directory: ${{github.workspace}}
8084
run: cmake -B ./product/cache/gnu-linux-arm32 -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/toolchains/gnu-linux-arm32.cmake -DAREG_EXTENDED:BOOL=ON

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: CMake
33
on:
44
push: # Keep empty to run on each branch when push the code. Otherwise use branches: [ master ]
55
branches: [ main ]
6-
# pull_request: # Set to master to run only when merge with master branch
7-
# branches: [ main ]
6+
pull_request: # Set to master to run only when merge with master branch
7+
branches: [ main ]
88

99
env:
1010
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ name: "CodeQL"
88
on:
99
push:
1010
branches: [ main ]
11-
# pull_request:
11+
pull_request:
1212
# The branches below must be a subset of the branches above
13-
# branches: [ main ]
13+
branches: [ main ]
1414
schedule:
1515
- cron: '32 22 * * 1'
1616

.github/workflows/msbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ name: MSBuild
88
on:
99
push:
1010
branches: [ main ]
11-
# pull_request:
12-
# branches: [ main ]
11+
pull_request:
12+
branches: [ main ]
1313

1414
env:
1515
# Path to the solution file relative to the root of the project.

0 commit comments

Comments
 (0)