Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IGNORE ME] [ATTEMPT 2] Opendream-detected Errors, More Harddels, Slight CI Improvements (#3572) #163

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
a78a4c8
Opendream-detected Errors, More Harddels, Slight CI Improvements (#3572)
MarkSuckerberg Oct 25, 2024
07b1f9a
Just a quick edit to get around the merge conflict
Ossa88 Feb 11, 2025
f8454cc
Partial commit of #3291
Ossa88 Feb 11, 2025
4ac5ff3
See above commit
Ossa88 Feb 11, 2025
29a24b1
small test for linter
Ossa88 Feb 11, 2025
22c4b52
https://github.com/shiptest-ss13/Shiptest/pull/3337
Ossa88 Feb 11, 2025
3220548
Overmind fix
Ossa88 Feb 11, 2025
4c5b1ac
xenobio clothing fix?
Ossa88 Feb 11, 2025
4f10b96
fixed icon name
Ossa88 Feb 11, 2025
8d4e275
Adds a .NET 9 SDK setup action to linters (#3979)
FalloutFalcon Jan 14, 2025
e25513b
Revert "Adds a .NET 9 SDK setup action to linters (#3979)"
Ossa88 Feb 11, 2025
19f2312
Adds a .NET 9 SDK setup action to linters (#3979)
FalloutFalcon Jan 14, 2025
d691ef3
Revert "Adds a .NET 9 SDK setup action to linters (#3979)"
Ossa88 Feb 11, 2025
e2c2c68
autowiki
Ossa88 Feb 11, 2025
bedc7ed
https://github.com/shiptest-ss13/Shiptest/pull/3643
Ossa88 Feb 11, 2025
e082fa1
ci_suite v4 tests
Ossa88 Feb 11, 2025
00c73fd
Updated more tests to v4
Ossa88 Feb 11, 2025
1010f1b
Merge branch 'PentestSS13:master' into justthetests
Ossa88 Feb 11, 2025
2a9d4b5
Merge branch 'justthetests' of https://github.com/Ossa88/PentestMain …
Ossa88 Feb 11, 2025
099fa89
reverting this back to v3 to match shiptest
Ossa88 Feb 11, 2025
5b54991
updated lower end of byond version to match shiptest
Ossa88 Feb 11, 2025
413862a
Test
Ossa88 Feb 11, 2025
66c1f4d
My last test then I give up
Ossa88 Feb 11, 2025
ffaa1ed
tgs minimum version update
Ossa88 Feb 11, 2025
3557fc9
Whats the worse that can happen?
Ossa88 Feb 11, 2025
a003f57
Revert "Whats the worse that can happen?"
Ossa88 Feb 11, 2025
0dc9d81
Removing the tests so they can be merged in a seperate PR to bypass a…
Ossa88 Feb 11, 2025
4b60e2c
Merge branch 'PentestSS13:master' into justthetests
Ossa88 Feb 12, 2025
5b90cb8
Added some missed test upgrades
Ossa88 Feb 12, 2025
13c8927
Merge branch 'PentestSS13:master' into justthetests
Ossa88 Feb 13, 2025
aa3b8cc
Merge branch 'PentestSS13:master' into justthetests
Ossa88 Feb 18, 2025
485a19f
Merge branch 'PentestSS13:master' into justthetests
Ossa88 Feb 19, 2025
a2ed266
Update tgs_test.yml
Ossa88 Feb 20, 2025
0207e5e
Update tgs_test.yml
Ossa88 Feb 20, 2025
fe8b6ce
Update tgs_test.yml
Ossa88 Feb 20, 2025
a41347e
Revert: Update tgs_test.yml
Ossa88 Feb 20, 2025
08cfb8c
Shiptest PR3558 PR3633
Ossa88 Feb 20, 2025
932c4ff
test fix
Ossa88 Feb 20, 2025
8d58b31
test again
Ossa88 Feb 20, 2025
1391e5a
Revert "test again"
Ossa88 Feb 20, 2025
087544c
Revert "test fix"
Ossa88 Feb 20, 2025
39dae8d
Revert "Shiptest PR3558 PR3633"
Ossa88 Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 63 additions & 62 deletions .github/workflows/autowiki.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Autowiki
on:
schedule:
- cron: "5 4 * * *"
- cron: "5 4 * * *"
workflow_dispatch:

permissions:
Expand All @@ -11,74 +11,75 @@ jobs:
autowiki:
runs-on: ubuntu-latest
steps:
- name: "Check for AUTOWIKI_USERNAME"
id: secrets_set
env:
ENABLER_SECRET: ${{ secrets.AUTOWIKI_USERNAME }}
run: |
unset SECRET_EXISTS
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi
echo "SECRETS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT
- name: "Check for AUTOWIKI_USERNAME"
id: secrets_set
env:
ENABLER_SECRET: ${{ secrets.AUTOWIKI_USERNAME }}
run: |
unset SECRET_EXISTS
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi
echo "SECRETS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT

- name: Checkout
if: steps.secrets_set.outputs.SECRETS_ENABLED
uses: actions/checkout@v3
- name: Checkout
if: steps.secrets_set.outputs.SECRETS_ENABLED
uses: actions/checkout@v4

- name: Setup BYOND cache
id: cache-byond
if: steps.secrets_set.outputs.SECRETS_ENABLED
uses: actions/cache@v3
with:
path: ~/BYOND
key: ${{ runner.os }}-byond-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }}
- name: Setup BYOND cache
id: cache-byond
if: steps.secrets_set.outputs.SECRETS_ENABLED
uses: actions/cache@v4
with:
path: ~/BYOND
key: ${{ runner.os }}-byond-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }}-${{ hashFiles('.github/workflows/autowiki.yml') }}

- name: Install BYOND
if: steps.cache-byond.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: bash tools/ci/install_byond.sh
- name: Install BYOND
if: steps.cache-byond.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: bash tools/ci/install_byond.sh

- name: Install runtime dependencies
if: steps.secrets_set.outputs.SECRETS_ENABLED
run: |
sudo dpkg --add-architecture i386
sudo apt update || true
sudo apt install -o APT::Immediate-configure=false libssl-dev:i386
bash tools/ci/install_rust_g.sh
- name: Install runtime dependencies
if: steps.secrets_set.outputs.SECRETS_ENABLED
run: |
sudo dpkg --add-architecture i386
sudo apt update || true
sudo apt install -o APT::Immediate-configure=false libssl-dev:i386 libgcc-s1:i386
bash tools/ci/install_rust_g.sh

- name: Cache dependencies
if: steps.secrets_set.outputs.SECRETS_ENABLED
uses: actions/cache@v3
with:
path: ~/.byond/bin
key: ${{ runner.os }}-deps-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }}
- name: Cache dependencies
id: cache-deps
if: steps.secrets_set.outputs.SECRETS_ENABLED
uses: actions/cache@v4
with:
path: ~/.byond/bin
key: ${{ runner.os }}-autowiki-deps-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }}-${{ hashFiles('.github/workflows/autowiki.yml') }}

- name: Install build dependencies
if: steps.cache-deps.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: |
sudo apt install -o APT::Immediate-Configure=false libgcc-s1:i386 g++-multilib zlib1g-dev:i386
rustup target add i686-unknown-linux-gnu
- name: Install build dependencies
if: steps.cache-deps.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: |
sudo apt install -o APT::Immediate-Configure=false g++-multilib zlib1g-dev:i386
rustup target add i686-unknown-linux-gnu

- name: Build auxmos
if: steps.cache-deps.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: bash tools/ci/build_auxmos.sh
- name: Build auxmos
if: steps.cache-deps.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: bash tools/ci/build_auxmos.sh

- name: Build rust-g
if: steps.cache-deps.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: bash tools/ci/build_rust_g.sh
- name: Build rust-g
if: steps.cache-deps.outputs.cache-hit != 'true' && steps.secrets_set.outputs.SECRETS_ENABLED
run: bash tools/ci/build_rust_g.sh

- name: Compile and generate Autowiki files
if: steps.secrets_set.outputs.SECRETS_ENABLED
run: |
bash tools/ci/install_byond.sh
source $HOME/BYOND/byond/bin/byondsetup
tools/build/build --ci autowiki
- name: Compile and generate Autowiki files
if: steps.secrets_set.outputs.SECRETS_ENABLED
run: |
bash tools/ci/install_byond.sh
source $HOME/BYOND/byond/bin/byondsetup
tools/build/build --ci autowiki

- name: Run Autowiki
if: steps.secrets_set.outputs.SECRETS_ENABLED
env:
USERNAME: ${{ secrets.AUTOWIKI_USERNAME }}
PASSWORD: ${{ secrets.AUTOWIKI_PASSWORD }}
run: |
cd tools/autowiki
npm install
cd ../..
node tools/autowiki/autowiki.js data/autowiki_edits.txt data/autowiki_files/
- name: Run Autowiki
if: steps.secrets_set.outputs.SECRETS_ENABLED
env:
USERNAME: ${{ secrets.AUTOWIKI_USERNAME }}
PASSWORD: ${{ secrets.AUTOWIKI_PASSWORD }}
run: |
cd tools/autowiki
npm install
cd ../..
node tools/autowiki/autowiki.js data/autowiki_edits.txt data/autowiki_files/
Loading
Loading