| ... | @@ -50,7 +50,12 @@ jobs: | ... | @@ -50,7 +50,12 @@ jobs: |
| 50 | uses: actions/checkout@v3 | 50 | uses: actions/checkout@v3 |
| 51 | - name: Switch to specific commit | 51 | - name: Switch to specific commit |
| 52 | if: ${{ github.event_name == 'workflow_dispatch' }} | 52 | if: ${{ github.event_name == 'workflow_dispatch' }} |
| 53 | run: git checkout ${{ inputs.commit }} | 53 | run: | |
| | 54 | rf -rf ../ci |
| | 55 | cp -r ci ../ |
| | 56 | git checkout ${{ inputs.commit }} |
| | 57 | rm -rf ci |
| | 58 | mv ../ci . |
| 54 | - name: Build and Test | 59 | - name: Build and Test |
| 55 | run: sh ./ci/linux/build-x86_64-debug.sh | 60 | run: sh ./ci/linux/build-x86_64-debug.sh |
| 56 | - name: Print Version | 61 | - name: Print Version |
| ... | @@ -63,7 +68,12 @@ jobs: | ... | @@ -63,7 +68,12 @@ jobs: |
| 63 | uses: actions/checkout@v3 | 68 | uses: actions/checkout@v3 |
| 64 | - name: Switch to specific commit | 69 | - name: Switch to specific commit |
| 65 | if: ${{ github.event_name == 'workflow_dispatch' }} | 70 | if: ${{ github.event_name == 'workflow_dispatch' }} |
| 66 | run: git checkout ${{ inputs.commit }} | 71 | run: | |
| | 72 | rf -rf ../ci |
| | 73 | cp -r ci ../ |
| | 74 | git checkout ${{ inputs.commit }} |
| | 75 | rm -rf ci |
| | 76 | mv ../ci . |
| 67 | - name: Build and Test | 77 | - name: Build and Test |
| 68 | run: sh ./ci/linux/build-x86_64-release.sh | 78 | run: sh ./ci/linux/build-x86_64-release.sh |
| 69 | x86_64-macos: | 79 | x86_64-macos: |
| ... | @@ -76,7 +86,12 @@ jobs: | ... | @@ -76,7 +86,12 @@ jobs: |
| 76 | uses: actions/checkout@v3 | 86 | uses: actions/checkout@v3 |
| 77 | - name: Switch to specific commit | 87 | - name: Switch to specific commit |
| 78 | if: ${{ github.event_name == 'workflow_dispatch' }} | 88 | if: ${{ github.event_name == 'workflow_dispatch' }} |
| 79 | run: git checkout ${{ inputs.commit }} | 89 | run: | |
| | 90 | rf -rf ../ci |
| | 91 | cp -r ci ../ |
| | 92 | git checkout ${{ inputs.commit }} |
| | 93 | rm -rf ci |
| | 94 | mv ../ci . |
| 80 | - name: Build and Test | 95 | - name: Build and Test |
| 81 | run: ./ci/macos/build-x86_64.sh | 96 | run: ./ci/macos/build-x86_64.sh |
| 82 | x86_64-windows: | 97 | x86_64-windows: |
| ... | @@ -89,7 +104,12 @@ jobs: | ... | @@ -89,7 +104,12 @@ jobs: |
| 89 | uses: actions/checkout@v3 | 104 | uses: actions/checkout@v3 |
| 90 | - name: Switch to specific commit | 105 | - name: Switch to specific commit |
| 91 | if: ${{ github.event_name == 'workflow_dispatch' }} | 106 | if: ${{ github.event_name == 'workflow_dispatch' }} |
| 92 | run: git checkout ${{ inputs.commit }} | 107 | run: | |
| | 108 | rf -rf ../ci |
| | 109 | cp -r ci ../ |
| | 110 | git checkout ${{ inputs.commit }} |
| | 111 | rm -rf ci |
| | 112 | mv ../ci . |
| 93 | - name: Build and Test | 113 | - name: Build and Test |
| 94 | run: ./ci/windows/build.ps1 | 114 | run: ./ci/windows/build.ps1 |
| 95 | aarch64-linux: | 115 | aarch64-linux: |
| ... | @@ -100,7 +120,12 @@ jobs: | ... | @@ -100,7 +120,12 @@ jobs: |
| 100 | uses: actions/checkout@v3 | 120 | uses: actions/checkout@v3 |
| 101 | - name: Switch to specific commit | 121 | - name: Switch to specific commit |
| 102 | if: ${{ github.event_name == 'workflow_dispatch' }} | 122 | if: ${{ github.event_name == 'workflow_dispatch' }} |
| 103 | run: git checkout ${{ inputs.commit }} | 123 | run: | |
| | 124 | rf -rf ../ci |
| | 125 | cp -r ci ../ |
| | 126 | git checkout ${{ inputs.commit }} |
| | 127 | rm -rf ci |
| | 128 | mv ../ci . |
| 104 | - name: Build and Test | 129 | - name: Build and Test |
| 105 | run: sh ./ci/linux/build-aarch64.sh | 130 | run: sh ./ci/linux/build-aarch64.sh |
| 106 | aarch64-macos: | 131 | aarch64-macos: |
| ... | @@ -113,6 +138,11 @@ jobs: | ... | @@ -113,6 +138,11 @@ jobs: |
| 113 | uses: actions/checkout@v3 | 138 | uses: actions/checkout@v3 |
| 114 | - name: Switch to specific commit | 139 | - name: Switch to specific commit |
| 115 | if: ${{ github.event_name == 'workflow_dispatch' }} | 140 | if: ${{ github.event_name == 'workflow_dispatch' }} |
| 116 | run: git checkout ${{ inputs.commit }} | 141 | run: | |
| | 142 | rf -rf ../ci |
| | 143 | cp -r ci ../ |
| | 144 | git checkout ${{ inputs.commit }} |
| | 145 | rm -rf ci |
| | 146 | mv ../ci . |
| 117 | - name: Build and Test | 147 | - name: Build and Test |
| 118 | run: ./ci/macos/build-aarch64.sh | 148 | run: ./ci/macos/build-aarch64.sh |