Browse Source

update: CI还是没成功,继续改

Wendal Chen 2 years ago
parent
commit
c494ab64f4
2 changed files with 6 additions and 2 deletions
  1. 3 1
      .github/workflows/air101.yml
  2. 3 1
      .github/workflows/air105.yml

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

@@ -15,7 +15,7 @@ on:
 
 
 jobs:
 jobs:
   build:
   build:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
     steps:
     - uses: actions/checkout@v1
     - uses: actions/checkout@v1
     - name: prepare software
     - name: prepare software
@@ -23,6 +23,8 @@ jobs:
         sudo apt-get update
         sudo apt-get update
         sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev p7zip-full -y
         sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev p7zip-full -y
         sudo apt-get install libncurses5-dev -y
         sudo apt-get install libncurses5-dev -y
+        sudo add-apt-repository ppa:xmake-io/xmake -y
+        sudo apt-get update -y
         sudo apt-get install xmake -y
         sudo apt-get install xmake -y
     - name: clone 101
     - name: clone 101
       run: |
       run: |

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

@@ -15,7 +15,7 @@ on:
 
 
 jobs:
 jobs:
   build:
   build:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
     steps:
     - uses: actions/checkout@v1
     - uses: actions/checkout@v1
     - name: prepare software
     - name: prepare software
@@ -23,6 +23,8 @@ jobs:
         sudo apt-get update
         sudo apt-get update
         sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev p7zip-full -y
         sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev p7zip-full -y
         sudo apt-get install libncurses5-dev -y
         sudo apt-get install libncurses5-dev -y
+        sudo add-apt-repository ppa:xmake-io/xmake -y
+        sudo apt-get update
         sudo apt-get install xmake -y
         sudo apt-get install xmake -y
     - name: clone 105
     - name: clone 105
       run: |
       run: |