Merge pull request #842 from cazfi/srvup #1055
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: continuous integration | |
on: | |
- pull_request | |
- push | |
- workflow_dispatch | |
jobs: | |
normal: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/setup-java@v4.2.1 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: check out Freeciv-web | |
uses: actions/checkout@v4.1.1 | |
- name: prepare | |
run: | | |
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 | |
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 | |
ip addr # for confirmation. can be skipped | |
sudo apt-get remove ^postgresql 'mysql.*' | |
sudo rm -rf /var/lib/mysql | |
- name: install | |
shell: bash | |
run: ./scripts/install/install.sh --mode=TEST |