|
3 | 3 | # SPDX-License-Identifier: MIT |
4 | 4 |
|
5 | 5 | name: test create-tauri-app |
| 6 | +env: |
| 7 | + RUST_BACKTRACE: 1 |
| 8 | + TAURI_RECIPE: 'vanillajs,cra,vite,ngcli' |
6 | 9 |
|
7 | 10 | on: |
8 | 11 | workflow_dispatch: |
|
13 | 16 | paths: |
14 | 17 | - "tooling/create-tauri-app/**" |
15 | 18 |
|
16 | | -env: |
17 | | - RUST_BACKTRACE: 1 |
18 | | - |
19 | 19 | jobs: |
20 | 20 | create-recipe-with-npm: |
21 | | - name: "node@${{ matrix.node }} + npm@${{ matrix.manager }}: ${{ matrix.recipe }}" |
| 21 | + name: "node@${{ matrix.node }} + npm@${{ matrix.manager }}" |
22 | 22 | runs-on: ${{ github.event.inputs.platform || 'ubuntu' }}-latest |
23 | 23 |
|
24 | 24 | strategy: |
25 | 25 | fail-fast: false |
26 | 26 | matrix: |
27 | 27 | node: ["14", "16"] |
28 | | - manager: ["6", "7"] |
29 | | - recipe: ["vanillajs", "cra", "vite", "ngcli", "svelte", "dominator"] |
| 28 | + manager: ["7"] |
30 | 29 | exclude: |
31 | 30 | - node: "16" |
32 | 31 | manager: "6" |
@@ -62,40 +61,37 @@ jobs: |
62 | 61 | - run: yarn test |
63 | 62 | working-directory: tooling/create-tauri-app |
64 | 63 | env: |
65 | | - TAURI_RECIPE: ${{ matrix.recipe }} |
66 | 64 | TAURI_RUN_MANAGER: "npm" |
67 | 65 |
|
68 | | - create-recipe-with-yarn: |
69 | | - name: "node@${{ matrix.node }} + yarn@1: ${{ matrix.recipe }}" |
70 | | - runs-on: ${{ github.event.inputs.platform || 'ubuntu' }}-latest |
| 66 | + # create-recipe-with-yarn: |
| 67 | + # name: "node@${{ matrix.node }} + yarn@1" |
| 68 | + # runs-on: ${{ github.event.inputs.platform || 'ubuntu' }}-latest |
71 | 69 |
|
72 | | - strategy: |
73 | | - fail-fast: false |
74 | | - matrix: |
75 | | - node: ["14", "16"] |
76 | | - recipe: ["vanillajs", "cra", "vite", "ngcli", "svelte"] |
| 70 | + # strategy: |
| 71 | + # fail-fast: false |
| 72 | + # matrix: |
| 73 | + # node: ["14", "16"] |
77 | 74 |
|
78 | | - steps: |
79 | | - - uses: actions/checkout@v2 |
80 | | - - name: install stable |
81 | | - uses: actions-rs/toolchain@v1 |
82 | | - with: |
83 | | - toolchain: stable |
84 | | - - uses: volta-cli/action@v1 |
85 | | - with: |
86 | | - node-version: ${{ matrix.node }} |
87 | | - yarn-version: 1.22.5 |
88 | | - - name: install webkit2gtk |
89 | | - if: (github.event.inputs.platform || 'ubuntu') == 'ubuntu' |
90 | | - run: | |
91 | | - sudo apt-get update |
92 | | - sudo apt-get install -y libgtk-3-dev libgtksourceview-3.0-dev webkit2gtk-4.0 libappindicator3-dev |
93 | | - - run: yarn |
94 | | - working-directory: tooling/create-tauri-app |
95 | | - - run: yarn build |
96 | | - working-directory: tooling/create-tauri-app |
97 | | - - run: yarn test |
98 | | - working-directory: tooling/create-tauri-app |
99 | | - env: |
100 | | - TAURI_RECIPE: ${{ matrix.recipe }} |
101 | | - TAURI_RUN_MANAGER: "yarn" |
| 75 | + # steps: |
| 76 | + # - uses: actions/checkout@v2 |
| 77 | + # - name: install stable |
| 78 | + # uses: actions-rs/toolchain@v1 |
| 79 | + # with: |
| 80 | + # toolchain: stable |
| 81 | + # - uses: volta-cli/action@v1 |
| 82 | + # with: |
| 83 | + # node-version: ${{ matrix.node }} |
| 84 | + # yarn-version: 1.22.5 |
| 85 | + # - name: install webkit2gtk |
| 86 | + # if: (github.event.inputs.platform || 'ubuntu') == 'ubuntu' |
| 87 | + # run: | |
| 88 | + # sudo apt-get update |
| 89 | + # sudo apt-get install -y libgtk-3-dev libgtksourceview-3.0-dev webkit2gtk-4.0 libappindicator3-dev |
| 90 | + # - run: yarn |
| 91 | + # working-directory: tooling/create-tauri-app |
| 92 | + # - run: yarn build |
| 93 | + # working-directory: tooling/create-tauri-app |
| 94 | + # - run: yarn test |
| 95 | + # working-directory: tooling/create-tauri-app |
| 96 | + # env: |
| 97 | + # TAURI_RUN_MANAGER: "yarn" |
0 commit comments