|
| 1 | +name: Compilations on kinds of platforms |
| 2 | + |
| 3 | +on: push |
| 4 | + |
| 5 | +jobs: |
| 6 | + linux: |
| 7 | + name: linux for arm and x86 |
| 8 | + runs-on: ubuntu-latest |
| 9 | + |
| 10 | + steps: |
| 11 | + - name: checkout code |
| 12 | + uses: actions/checkout@v2 |
| 13 | + - name: prerequisites installation |
| 14 | + run: | |
| 15 | + sudo apt-get install g++-aarch64-linux-gnu |
| 16 | + which aarch64-linux-gnu-g++ |
| 17 | + eval "aarch64-linux-gnu-g++ --version" |
| 18 | + echo "aarch64 g++ preparation done..." |
| 19 | + - name: compile armv8(cpu) with gnu on linux |
| 20 | + run: | |
| 21 | + chmod -R 777 ../bolt/ |
| 22 | + echo "compile armv8 with gnu on linux ..." |
| 23 | + ./install.sh -c arm_gnu -t 33 |
| 24 | + - name: compile armv8(cpu) with llvm on linux |
| 25 | + run: | |
| 26 | + echo "compile armv8(cpu) with llvm on linux ..." |
| 27 | + echo "./install.sh -c arm_llvm -t 33 -g ON[todo]" |
| 28 | + - name: compile x86(cpu) with gnu on linux |
| 29 | + run: | |
| 30 | + echo "compile x86(cpu) with gnu on linux ..." |
| 31 | + ./install.sh -c x86_gnu -t 33 |
| 32 | + - name: check the compilation files |
| 33 | + run: | |
| 34 | + pwd |
| 35 | + file ./install_arm_gnu/tools/X2bolt |
| 36 | + file ./install_x86_gnu/tools/X2bolt |
| 37 | + |
| 38 | + macos-arm: |
| 39 | + name: macos for arm |
| 40 | + runs-on: macos-latest |
| 41 | + steps: |
| 42 | + - name: checkout code |
| 43 | + uses: actions/checkout@v2 |
| 44 | + - name: compile armv8 with llvm on mac |
| 45 | + run: echo "compilation on mac is coming..." |
| 46 | + |
| 47 | + windows: |
| 48 | + name: windows for arm |
| 49 | + runs-on: windows-latest |
| 50 | + |
| 51 | + steps: |
| 52 | + - name: checkout code |
| 53 | + uses: actions/checkout@v2 |
| 54 | + - name: compilation armv8 on windows |
| 55 | + run: echo "compialtion on windows is coming..." |
0 commit comments