Files
Tyler Wilding 41ed4b1d7e ci: update to ubuntu 22.04 (#3860)
Ubuntu 20.04 is hitting it's next EOL stage in april
https://endoflife.date/ubuntu
And it's being removed from github actions in april to go along with
that
https://github.blog/changelog/2025-01-15-github-actions-ubuntu-20-runner-image-brownout-dates-and-other-breaking-changes/

Getting ahead of this before we have random failures, I'll update the
launcher along with this change for this month.

On the bright side, we can finally update clang-format!
2025-02-16 17:40:52 -05:00

36 lines
1.1 KiB
C++

#pragma once
#include <string>
#include <unordered_map>
#include "common/util/FileUtil.h"
struct OfflineTestSourceFile {
OfflineTestSourceFile(fs::path _path,
std::string _containing_dgo,
std::string _name_in_dgo,
std::string _unique_name)
: path(_path),
containing_dgo(_containing_dgo),
name_in_dgo(_name_in_dgo),
unique_name(_unique_name) {};
fs::path path;
std::string containing_dgo;
std::string name_in_dgo;
std::string unique_name;
};
struct OfflineTestArtFile {
OfflineTestArtFile(std::string _containing_dgo,
std::string _name_in_dgo,
std::string _unique_name)
: containing_dgo(_containing_dgo), name_in_dgo(_name_in_dgo), unique_name(_unique_name) {};
std::string containing_dgo;
std::string name_in_dgo;
std::string unique_name;
};
std::vector<OfflineTestSourceFile> find_source_files(const std::string& game_name,
const std::vector<std::string>& dgos,
const std::string& single_file);