Skip to content

Commit

Permalink
Use GCC 12 for compilation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gottagofaster236 committed Nov 12, 2023
1 parent d509c86 commit fb994cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ jobs:
defaults:
run:
shell: bash
env:
CC: gcc-13
CXX: g++-13
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -242,9 +239,6 @@ jobs:
echo 'found=false' >> $GITHUB_OUTPUT
fi
- name: Install GCC 13
run: sudo apt-get install gcc-13 g++-13

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
Expand Down
6 changes: 3 additions & 3 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ These steps are a continuation of the previous section on building.
3. Open the project in Visual Studio. Right-click the `ALL_BUILD` project and set the debugging target to the OBS binary at `your_obs_clone_path\obs-studio\build64\rundir\Debug\bin\64bit\obs64.exe`, and the working directory to `your_obs_clone_path\obs-studio\build64\rundir\Debug\bin\64bit`. Now when you hit "Run" inside Visual Studio, the plugin is copied automatically to the rundir and then VS launches OBS for debugging.

## Building locally on Linux
1. Install GCC 13 (or later) via `sudo apt install gcc-13 g++-13` (use your favorite package manager).
1. Install GCC 12 (or later) via `sudo apt install gcc-12 g++-12` (use your favorite package manager).
2. Clone the repository recursively via Git:

```git clone --recursive https://github.com/gottagofaster236/RewardsTheater```
3. Run
```bash
export CC=gcc-13
export CXX=g++-13
export CC=gcc-12
export CXX=g++-12
sudo ./.github/scripts/build-linux.sh
```

Expand Down

0 comments on commit fb994cb

Please sign in to comment.