Skip to content

Commit 7466444

Browse files
committed
修改 Github Actions 自动测试流程,将 apt 改为 apt-get 并且增加 source ~/.bashrc 的流程
1 parent 53e04d8 commit 7466444

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build_and_test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ jobs:
1313
- uses: actions/checkout@v4
1414

1515
- name: Setup deps
16-
run: sudo apt upgrade && sudo apt install build-essential cmake xmake && xmake update
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install build-essential cmake xmake
19+
xmake update
20+
source ~/.bashrc
1721
1822
- name: CMake config
1923
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DEMDEVIF_TEST_FRAMEWORK_ENABLE_TEST=ON -DEMDEVIF_TEST_FRAMEWORK_TEST_NAME="integration_test" --debug-output

0 commit comments

Comments
 (0)