Просмотр исходного кода

fix: win32编译固定llvm版本

chenxuuu 2 лет назад
Родитель
Сommit
5d9fda6035
3 измененных файлов с 9 добавлено и 3 удалено
  1. 4 1
      .github/workflows/air101.yml
  2. 4 1
      .github/workflows/air105.yml
  3. 1 1
      bsp/win32/xmake.lua

+ 4 - 1
.github/workflows/air101.yml

@@ -30,7 +30,10 @@ jobs:
       run: |
       run: |
         sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
         sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
         cd ..
         cd ..
-        retry 'git clone --branch=master https://gitee.com/openLuat/luatos-soc-air101 air101'
+        retry 'git clone --branch=master https://github.com/openLuat/luatos-soc-air101 air101'
+        cd air101
+        git remote set-url origin https://gitee.com/openLuat/luatos-soc-air101
+        retry 'git push --all origin'
     - name: make
     - name: make
       run: |
       run: |
         cd ../air101
         cd ../air101

+ 4 - 1
.github/workflows/air105.yml

@@ -29,7 +29,10 @@ jobs:
       run: |
       run: |
         sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
         sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
         cd ..
         cd ..
-        retry 'git clone --branch=master https://gitee.com/openLuat/luatos-soc-air105.git air105'
+        retry 'git clone --branch=master https://github.com/openLuat/luatos-soc-air105 air105'
+        cd air105
+        git remote set-url origin https://gitee.com/openLuat/luatos-soc-air105
+        retry 'git push --all origin'
     - name: make
     - name: make
       run: |
       run: |
         cd ../air105
         cd ../air105

+ 1 - 1
bsp/win32/xmake.lua

@@ -5,7 +5,7 @@ set_version("0.0.3", {build = "%Y%m%d%H%M"})
 add_rules("mode.debug", "mode.release")
 add_rules("mode.debug", "mode.release")
 
 
 -- 这里用llvm和clang了,尝试一下
 -- 这里用llvm和clang了,尝试一下
-add_requires("llvm")
+add_requires("llvm 15.0.7")
 set_toolchains("@llvm")
 set_toolchains("@llvm")
 
 
 local luatos = "../../"
 local luatos = "../../"