Feature #1499 » 0056-CI-Rename-normal-job-as-autotools.patch
| .github/workflows/ci.yml | ||
|---|---|---|
|       - name: build | ||
|         shell: bash | ||
|         run: ./scripts/ci-build.sh mac-meson | ||
|   normal: | ||
|   autotools: | ||
|     runs-on: ubuntu-24.04 | ||
|     steps: | ||
|       - name: check out Freeciv | ||
| ... | ... | |
|             unixodbc-dev | ||
|       - name: build | ||
|         shell: bash | ||
|         run: ./scripts/ci-build.sh normal | ||
|         run: ./scripts/ci-build.sh autotools | ||
|   dist: | ||
|     runs-on: ubuntu-24.04 | ||
|     steps: | ||
| scripts/ci-build.sh | ||
|---|---|---|
| echo "Freeciv build successful!" | ||
| ;; | ||
| *) | ||
| autotools) | ||
| # Fetch S3_2 in the background for the ruleset upgrade test | ||
| git fetch --no-tags --quiet https://github.com/freeciv/freeciv.git S3_2:S3_2 & | ||
| ... | ... | |
| echo "Freeciv server autogame successful!" | ||
| ;; | ||
| *) | ||
| echo "Unknown ci-job \"$1\"" >&2 | ||
| exit 1 | ||
| ;; | ||
| esac | ||