Skip to content

Commit 1f057bc

Browse files
committed
Finalizing issue with 'asm' directory.
1 parent 3740ff9 commit 1f057bc

File tree

5 files changed

+33
-91
lines changed

5 files changed

+33
-91
lines changed

.github/workflows/Test.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

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

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# ##################################################################
2+
#
3+
# Cross-compile with CMake workflow for areg-sdk Demo project
4+
#
5+
# ##################################################################
16
name: CMake Linux Cross-Compile
27

38
on:
4-
# push: # Keep empty to run on each branch when push the code. Otherwise use branches: [ master ]
5-
# branches: [ main ]
6-
# pull_request: # Set to master to run only when merge with master branch
7-
# branches: [ main ]
9+
push: # Keep empty to run on each branch when push the code. Otherwise use branches: [ master ]
10+
branches: [ main ]
11+
pull_request: # Set to master to run only when merge with master branch
12+
branches: [ main ]
813

914
env:
1015
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -75,16 +80,7 @@ jobs:
7580
working-directory: ${{github.workspace}}
7681
run: cmake --build ./product/cache/gnu-aarch64-so -j20
7782

78-
- name: Linux - check 'asm' directory
79-
run: |
80-
echo hashFiles('/usr/include/asm')
81-
ls -al /usr/include/
82-
echo ------------
83-
echo hashFiles('/usr/include/asm-generic')
84-
ls -al /usr/include/asm-generic
85-
86-
- name: Linux - Fix 'asm' directory issue, create sym-link if does not exist.
87-
if: ${{ hashFiles('/usr/include/asm') == '' && hashFiles('/usr/include/asm-generic') != ''}}
83+
- name: Linux - Fix 'asm' directory issue by creating symlink.
8884
run: sudo ln -s /usr/include/asm-generic/ /usr/include/asm
8985

9086
- name: Linux - Cross-compile configure, gnu-linux-arm32.cmake

.github/workflows/cmake.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# ##################################################################
2+
#
3+
# CMake workflow for areg-sdk Demo project
4+
#
5+
# ##################################################################
16
name: CMake
27

38
on:
4-
# push: # Keep empty to run on each branch when push the code. Otherwise use branches: [ master ]
5-
# branches: [ main ]
6-
# pull_request: # Set to master to run only when merge with master branch
7-
# branches: [ main ]
9+
push: # Keep empty to run on each branch when push the code. Otherwise use branches: [ master ]
10+
branches: [ main ]
11+
pull_request: # Set to master to run only when merge with master branch
12+
branches: [ main ]
813

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

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
name: "CodeQL"
77

88
on:
9-
# push:
10-
# branches: [ main ]
11-
# pull_request:
12-
# # The branches below must be a subset of the branches above
13-
# branches: [ main ]
9+
push:
10+
branches: [ main ]
11+
pull_request:
12+
# The branches below must be a subset of the branches above
13+
branches: [ main ]
1414
schedule:
1515
- cron: '32 22 * * 1'
1616

.github/workflows/msbuild.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
1+
# ##################################################################
2+
#
3+
# MSBuild workflow for areg-sdk Demo project
4+
#
5+
# ##################################################################
66
name: MSBuild
77

88
on:
9-
# push:
10-
# branches: [ main ]
11-
# pull_request:
12-
# branches: [ main ]
9+
push:
10+
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)