Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Oct 29, 2023
1 parent f3d8ca5 commit a9ca751
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- name: Windows 2022
shell: pwsh
os: windows-2022

defaults:
run:
working-directory: build
shell: ${{ matrix.config.shell }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -54,18 +60,16 @@ jobs:
run: sudo apt-get install -y libegl-dev libegl1-mesa-dev libva-dev libvdpau-dev libx11-xcb-dev libfontenc-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxres-dev libxss-dev libxtst-dev libxv-dev libxvmc-dev libxxf86vm-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev libxcb-cursor-dev libxcb-util-dev

- name: Install Dependencies
working-directory: build
run: conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20 # --conf tools.system.package_manager:mode=install
#working-directory: build

# - name: Activate Dependencies
# if: matrix.config.name == 'Windows'
# run: call activate.bat

- name: Configure
working-directory: build
shell: ${{ matrix.config.shell }}
run: cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
#working-directory: build

- name: Build
working-directory: build
run: cmake --build .
#working-directory: build
24 changes: 24 additions & 0 deletions src/common.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once
#ifndef _common_hpp
#define _common_hpp

#include <SDL2/SDL.h>
#include <avif/avif.h>
#include <curl/curl.h>
#include <fmt/core.h>
#include <physfs.h>
#include <sol/sol.hpp>

#include <cassert>
#include <iostream>
#include <memory>
#include <string>
#include <unordered_map>
// using std::exception;
// using std::make_shared;
// using std::runtime_error;
// using std::shared_ptr;
// using std::string;
// using std::unordered_map;

#endif

0 comments on commit a9ca751

Please sign in to comment.