浏览代码

(experiment) bugfix linux workflow

Peter Squicciarini 5 年之前
父节点
当前提交
a08e243eb1
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .github/workflows/linux.yml

+ 3 - 2
.github/workflows/linux.yml

@@ -1,4 +1,4 @@
-name: CI
+name: linux_build
 
 
 on:
 on:
   push:
   push:
@@ -9,6 +9,7 @@ jobs:
   linux:
   linux:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     strategy:
     strategy:
+      fail-fast: false
       matrix:
       matrix:
         arch: [x64, arm64, arm]
         arch: [x64, arm64, arm]
     env:
     env:
@@ -51,7 +52,7 @@ jobs:
           esac
           esac
 
 
           if [[ -n "$triplet" ]]; then
           if [[ -n "$triplet" ]]; then
-            sed 's/^deb /deb [arch=amd64] '/g -i /etc/apt/sources.list
+            sudo sed 's/^deb /deb [arch=amd64] '/g -i /etc/apt/sources.list
             echo "deb [arch=$arch] http://ports.ubuntu.com/ubuntu-ports/ trusty main" | sudo tee -a /etc/apt/sources.list.d/$arch.list >/dev/null
             echo "deb [arch=$arch] http://ports.ubuntu.com/ubuntu-ports/ trusty main" | sudo tee -a /etc/apt/sources.list.d/$arch.list >/dev/null
             sudo dpkg --add-architecture $arch
             sudo dpkg --add-architecture $arch
             sudo apt-get update
             sudo apt-get update