Download src/php/php-src/.github/actions/setup-x64/action.yml from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/setup-x64/action.yml
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/.github/actions/setup-x64/action.yml
-
curl -L -o action.yml https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/setup-x64/action.yml
1.27 kB
| name: Setup | |
| runs: | |
| using: composite | |
| steps: | |
| - shell: bash | |
| run: | | |
| set -x | |
| sudo service slapd start | |
| docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q "create login pdo_test with password='password', check_policy=off; create user pdo_test for login pdo_test; grant alter, control to pdo_test;" | |
| docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q "create login odbc_test with password='password', check_policy=off; create user odbc_test for login odbc_test; grant alter, control, delete to odbc_test;" | |
| docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q "ALTER SERVER ROLE sysadmin ADD MEMBER odbc_test;" | |
| docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q "CREATE DATABASE odbc;" | |
| docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q "CREATE DATABASE pdo_odbc;" | |
| sudo locale-gen de_DE | |
| ./.github/scripts/setup-slapd.sh | |
| sudo cp ext/snmp/tests/snmpd.conf /etc/snmp | |
| sudo cp ext/snmp/tests/bigtest /etc/snmp | |
| sudo service snmpd restart | |